RE: Is wikipedia really an example of a fail for 2.4.12?

Hi Josh,

From my perspective, this isn’t a relevant test for 2.4.12.  I’m no accessible name computation expert, but I don’t think the language select input on the Wikipedia home page has an accessible name.  In other words, there is no programmatically bound label text associated with the input.

What is wrapped in <label> markup has not been programmatically bound to the associated select input.  Specifically the value of the for attribute in the label attribute doesn’t match the value of the id attribute on the select element.

So, the text value of the selected option in <select> is what’s announced by JAWS and NVDA as the name of the input.  The selected option, by default, is “English” when I browse to Wikipedia from my stateside location.   But the word “English” just a heuristic guess that some AT make at what might be a discernible label for this input is, right?  Anyone on the list, please tell me if I’m wrong here.

So there is no accessible name to match up with the visible label.

Brooks

From: Joshue O Connor - InterAccess [mailto:josh@interaccess.ie]
Sent: Friday, March 02, 2018 10:40 AM
To: WCAG
Subject: Is wikipedia really an example of a fail for 2.4.12?

Question on a potential edge case - I'm not sure this a fail if the visual label is abbreviated but still comprehensible and following an established convention? [1]

Accessible matches Visible. The visible and accessible name of a label match

TEXT
https://www.wikipedia.org<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.wikipedia.org&d=DwMFaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=W3VUihr49D2x8upR4FtjMIsy0FSGEnqb4ghTiQJMtRw&m=TPkFAcInejPKzkUFXeZM4xQ2HAxLjoPiAWeTwsdOrx4&s=qpilYEg2ztSqbzGGHsVLHzL5oaRBcJlzhZMNUom9F3Q&e=> => Search field has language dropdown with text "EN" but has name "English" (or other language when selected)

Thoughts?

[1] https://www.w3.org/WAI/GL/wiki/WCAG_2.1_Implementations#2.4.12_Label_in_Name

__
Joshue O Connor
Director / InterAccess.ie

Received on Monday, 5 March 2018 16:18:27 UTC