Re: Bug: Firefox Accessibility Inspector reports placeholder attribute as eligible for accessible name

I don't think the calculation explicitly mentions placeholder, but on 
the other hand it also doesn't explicitly mention things like title 
attribute, and those do take part in the calculation (for the accessible 
description at least). Some browsers seem to use placeholder as part of 
their calculation. And indeed, the more fundamental point is that the 
Firefox Accessibility Inspector likely exposes whatever Firefox's API 
exposes, so it's not for the inspector to change, but rather for Firefox 
to change (and Firefox would change this behavior if the spec either 
explicitly forbade the use of placeholder).

P

On 07/08/2018 19:17, Glenda Sims wrote:
> Dear AG,
> 
> *TL:DR* - please read the a11y bug report and vote for it if you agree: 
> https://bugzilla.mozilla.org/show_bug.cgi?id=1480831
> 
> *Initial Response from Jamie at Mozilla *- the W3C name calc spec should 
> be changed, not the FF accessible name calc.
> 
> So, wise AGers, which is correct?  The W3C Accessible Name Calc Spec?  
> Or Firefox Accessibility Inspector?
> 
> G
> 
> PS - more detail
> 
> *Bug Details:*
> 
>     There is a mistake in the way the Firefox Accessibility Inspector is
>     calculating accessible name. It is currently reporting (for a field
>     that only has a placeholder) that the placeholder is the accessible
>     name.
> 
>     Code to test: <input type="text"  name="first"  placeholder="First
>     Name" id="first">
>     Sample of code to test: https://codepen.io/goodwitch/pen/OwEmEw
>     Firefox Accessibility Inspector reports this field as having an
>     accessible name of “First Name”
> 
> 
> *Actual results:*
> 
>     According to the W3C Accessible Name Calc, placeholder is not
>     eligible to be considered when determining the accessible name.
>     https://www.w3.org/TR/accname-1.1/
> 
> 
> 
> *Expected results:*
> 
>     Firefox Accessibility Inspector should report the accessible name as
>     null.
> 
> *glenda sims* <mailto:glenda.sims@deque.com>, cpacc 
> <http://www.accessibilityassociation.org/certification> | team a11y lead 
> | 512.963.3773
> deque systems <http://www.deque.com> accessibility for good

-- 
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke

Received on Tuesday, 7 August 2018 18:26:57 UTC