unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39326: [EWW] submit buttons are displayed differently in Emacs 24 and Emacs 27
@ 2020-01-28 12:45 Denis Ah-Kang
  2020-02-20 13:44 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Denis Ah-Kang @ 2020-01-28 12:45 UTC (permalink / raw)
  To: 39326

Hi,

I was recently helping someone debug a web page displayed in
EWW and I found out that Emacs 24 and Emacs 27 (and maybe earlier 
versions) don't render the submit buttons the same way.

Let's take the following markup:
<button type="submit">Accept</button>

With Emacs 24, EWW will display that button with the text "Accept" but
with Emacs 27, the text is "Submit".

Note, if there's a name attribute, Emacs 27 will display that attribute
instead.

Trying with other text browsers such as lynx or w3m, they all display
the text node. Do you know if EWW intentionally display 'Submit' for
all these buttons? This can be a accessibility problem when there are
multiple forms and submit buttons on the same page as the buttons
will all be displayed the same way.

Thanks,

Denis





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#39326: [EWW] submit buttons are displayed differently in Emacs 24 and Emacs 27
  2020-01-28 12:45 bug#39326: [EWW] submit buttons are displayed differently in Emacs 24 and Emacs 27 Denis Ah-Kang
@ 2020-02-20 13:44 ` Lars Ingebrigtsen
  2020-02-24 12:07   ` Denis Ah-Kang
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-02-20 13:44 UTC (permalink / raw)
  To: Denis Ah-Kang; +Cc: 39326

Denis Ah-Kang <denis@w3.org> writes:

> Let's take the following markup:
> <button type="submit">Accept</button>
>
> With Emacs 24, EWW will display that button with the text "Accept" but
> with Emacs 27, the text is "Submit".

I've now fixed this in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#39326: [EWW] submit buttons are displayed differently in Emacs 24 and Emacs 27
  2020-02-20 13:44 ` Lars Ingebrigtsen
@ 2020-02-24 12:07   ` Denis Ah-Kang
  0 siblings, 0 replies; 3+ messages in thread
From: Denis Ah-Kang @ 2020-02-24 12:07 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 39326

Great! Thank you for the fix.

On 2/20/20 5:44 PM, Lars Ingebrigtsen wrote:
> Denis Ah-Kang <denis@w3.org> writes:
> 
>> Let's take the following markup:
>> <button type="submit">Accept</button>
>>
>> With Emacs 24, EWW will display that button with the text "Accept" but
>> with Emacs 27, the text is "Submit".
> 
> I've now fixed this in Emacs 28.
> 





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-02-24 12:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-28 12:45 bug#39326: [EWW] submit buttons are displayed differently in Emacs 24 and Emacs 27 Denis Ah-Kang
2020-02-20 13:44 ` Lars Ingebrigtsen
2020-02-24 12:07   ` Denis Ah-Kang

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).