From 7f818250739d9b7404dbe79326e1bf89fce0fd13 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 4 Feb 2016 15:42:08 +1100 Subject: [PATCH] Make it possible to TAB to input fields * lisp/net/eww.el (eww-tag-input): Make it possible to TAB to input fields (bug#22540). --- lisp/net/eww.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/net/eww.el b/lisp/net/eww.el index f8d7c75aa2b..7cb324e2399 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -1136,7 +1136,9 @@ See URL `https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input'.") (t (eww-form-text dom))) (unless (= start (point)) - (put-text-property start (1+ start) 'help-echo "Input field")))) + (put-text-property start (1+ start) 'help-echo "Input field") + ;; Mark this as an element we can TAB to. + (put-text-property start (1+ start) 'shr-url dom)))) (defun eww-tag-select (dom) (shr-ensure-paragraph) -- 2.39.2