-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explain how values are obtained #184
Comments
reading the minutes, i do kinda get why it'd be removed from the ARIA spec. But while very similar, it also seems a bit odd to put this in accName. Core aam a no go for this? |
Fixes w3c#1720. Removing the MUST statement about getting the value for a combobox because it includes logic to get a value. The method to get a value will be handled outside the ARIA spec, in either accName or Core-AAM. See the discussion at w3c/accname#184.
Had a discussion with @spectranaut about multiple uses of the word value and thought this text (particularly item 2 in the list) shows HTML is happy to use value in multiple ways in the same sentence https://html.spec.whatwg.org/multipage/input.html#input-type-change |
I'll discuss this with @accdc and will either take on the work or bring back to the group where we think this should live and why. 👍 |
We made this differentiation because we realized we'd need a whole new algorithm and ACCNAME isn't really about getting the value but the name (and there's some nuance in those overloaded words). |
To start, I can say confidently I do not think this calculation or definition belongs in CORE-AAM. CORE-AAM is a spec for explaining the relationship between aria and accessibility APIs, it doesn't define concepts that are used in ARIA -- instead, CORE-AAM explains how any concepts defined in ARIA are exposed in accessibility APIs. In this specific case, "value" (as in the value of a combobox) is a concept that is used in ARIA, and it's definition is not influenced by any specific accessibility API, so it belongs in ARIA (or I still think maybe accname). I'm going to make a case for while I still think this belongs in AccName: To start, this discussion is mostly talking about the value of text input or text input like things, like combobox, textbox or searchbox. I think most of the time it is just the value of the native html input. But as the spec says, for combobox, when the combobox does not use a native input:
So already we are referencing AccName from ARIA for the definition of value. And already, in ARIA, we have an algorithm, which depends on whether the "node" in question is a native HTML input or something else. Because it references AccName and is an algorithm, I feel like it should be an extension of the AccName spec. Especially if it the definition depends on AccName and AccName changes, we don't want these two complicated things to get out of sync. Still, I think as a first step, we need to do a little more work to lock down what the definition of "value" should actually be for these text input like things. Is the definition quoted above correct? Once we know that, maybe it will be obvious if it belongs in AccName or in ARIA. I can volunteer to look into how browser surface values for comboboxes without inputs, to start. |
Happy to discuss this tomorrow on the call. My concern with having this in AccName is that the recursion algorithm deals specifically with content that would and should not be returned as a value, such as the bullets or numbering within list markup, the values of aria-label, the title or alt text on images, and so on, all of which come into play with contenteditable fields for RTF fields. Sighted users would never expect to see all of this content be returned as the value of a simple text field, but the AccName algorithm does not differentiate between the returning of simple textual content in some cases but not in others. |
Discussed at the working group meeting at TPAC yesterday: https://www.w3.org/2023/09/11-aria-minutes#t03 |
Need to schedule a deep dive for this; @accdc and I have done some more thinking about it and need to get folks together to have a more thorough discussion about. So first, the writeup needs to be done I'll pull up the notes I have and try to put something coherent together for folks to pre-read so we can schedule this deep dive convo. |
Proposal for Thursday Feb 29th @cookiecrook Bryan requested you attend, can you make a deep dive on this day? |
@MelSumner, I was just trying to find the appropriate issue, and I found this and #200. Can we close this one a duplicate, since more recent conversation is in #200? |
@spectranaut seems valid to me. |
In the ARIA Working Group's weekly meeting on 1/26/23, we decided that in addition to accessible names and descriptions, the accName spec should describe how to obtain an element's value if it has one. See agenda item 5 "Add explanations for how textboxes and searchboxes obtain their values" in the minutes at https://www.w3.org/2023/01/26-aria-minutes.html.
I think the spec may need to be re-named to reflect that it computes values in addition to names and descriptions.
The text was updated successfully, but these errors were encountered: