2.5.3 is visible select option considered part of the accessible name here? #3841
Replies: 8 comments
-
Do you have some code we might explore? I want to check my understanding of the accessible name calculation against what ANDI reports. Do we not already have a failure written up about only using only From just now reviewing F96 Failure due to the accessible name not containing the visible label text the examples seem analogous. I think we need to know how voice recognition software works in practice with the code. From Understanding 2.5.3 it is not just about support for prompts via screen reading software, but being able to use voice recognition software to navigate to (and trigger) form elements. From a 2.5.3 perspective I don't think "click addresses used" is any different than "addresses used" because the both contain "addresses" -- but I would guess neither helps someone using voice recognition software since the (invisible by default) accessible name is "previous destinations". But this line of reasoning reduces to why (or if?) |
Beta Was this translation helpful? Give feedback.
-
an option value does not name the select element. a very quick test of just |
Beta Was this translation helpful? Give feedback.
-
Thanks @scottaohara - that is helpful and confirms my suspicion. |
Beta Was this translation helpful? Give feedback.
-
i wouldn't have come to that conclusion. Rather, it fails 3.3.2 for lack of visible label and the purpose of the select becomes unclear when the initial 'placeholder' option is no longer the selected option. Since there is no visible label, and only the value of the combobox is shown, i wouldn't expect a 2.5.3 failure. |
Beta Was this translation helpful? Give feedback.
-
@scottaohara If the default option "Addresses used" can be considered visually sufficient (since 3.3.2 does not mandate programmatic availability) and any other select option implicity shows it is an address (which in the context of supplying origin or destination information for a journey seems pretty clear to me) one could argue that there is always a marginally sufficient visual label: either the default, or the chosen address after interaction with the select, thus passing 3.3.2. So this is a bit different from the placeholder case where the visual "label" disappears with any input. (I note that most people(?) would pass 3.3.2 in a floating label scenario, so a default label on top of an interface element seems generally acceptable, even if not best practice.) |
Beta Was this translation helpful? Give feedback.
-
@detlevhfischer - i think you misunderstood my comment? I wasn't implying anything about 3.3.2 having anything to do with being programmatically available, nor did i mean 'placeholder' to correlate to the
sure, but does the value represent an "address", or a billing address, shipping, delivery, destination, location? Depending on other information in the form, this could be unclear and require someone to have to re-open the listbox popup to see the initial 'placeholder' option (again, not a label and not a name). If using the |
Beta Was this translation helpful? Give feedback.
-
@scottaohara no, I think I got your comment, and sorry, I did not mean to suggest that you think 3.2.2 is related to programmatic determination - and only mentioned
true, but |
Beta Was this translation helpful? Give feedback.
-
This issue is labelled as a discussion, so we’re moving this to Discussions. There doesn’t seem to be an update to make to the documentation, but if that changes, we can move it back to the issues list. |
Beta Was this translation helpful? Give feedback.
-
The situation is simple but the 2.5.3 understanding text is not explicit regarding the assessment of visible select default options.
Is this a FAIL of 2.5.3?
A
select
with:label
option
"Addresses used"title
with the value "previous destinations"Screenreaders I tested render both the
title
AND (after a short gap) the defaultoption
. Still, the question is whether in a speech input scenario, the assistive technology would support something like "click Addresses used" (which is in a sense the visible label here).And beyond current AT support, the general question is whether a strict interpretation of "accessible name" for a
select
would disregard altogether the default option (and only accept a programmatically linkedlabel
, anaria-label
, text referenced byaria-labelledby
, ortitle
).Beta Was this translation helpful? Give feedback.
All reactions