Comments (4)
It does now include listbox
:
If the embedded control has role combobox or listbox, return the text alternative of the chosen option.
But the point remains about aria-multiselectable
. I guess
- [...] return the text alternative of the chosen option.
+ [...] return the text alternative of the selected options.
Would be sufficient and make it more obvious what "chosen" means by using the same terminology (selected
and aria-selected
).
from accname.
I agree with this change. However, it raises a related question ... does step 2E correctly address combobox in all its possible states? What if a combobox has a value in its textbox and that does not correspond to a value in its associated listbox? What if the combobox does not have a listbox?
from accname.
Hi Matt,
The executable AccName prototype already supports all of the supported children of role=combobox, including Listbox, Grid, and Tree, such as the following tests:
<input type="text" id="test" />
<label for="test">Flash the screen
<div role="combobox">
<div role="textbox"></div>
<div role="grid">
<ul role="row" style="list-style-type: none;">
<li role="gridcell" aria-selected="true">1</li>
<li role="gridcell">2</li>
<li role="gridcell">3</li>
</ul>
</div>
</div>
times.
</label>
And
<input type="text" id="test" />
<label for="test">Flash the screen
<div role="combobox">
<div role="textbox"></div>
<ul role="tree" style="list-style-type: none;">
<li role="treeitem" aria-selected="true">1</li>
<li role="treeitem">2</li>
<li role="treeitem">3</li>
</ul>
</div>
times.
</label>
All of which are treated as widgets that support explicit values in accordance with the aria-selected model for selectable children.
I'm not sure if these are clearly conveyed in the spec though.
An ARIA Combobox only has a value when one of it's supported children like those above have aria-selected="true", or if the embedded textbox has a value (whether element.value if a native edit field or name from content if a simulated role=textbox), but if it has no value then nothing is returned as the value.
This is how I coded it into the AccName Prototype, but if others have a different interpretation of this, please let me know.
from accname.
Another thing which we need to address: What about multi-select listboxes which multiple items selected?
(Sorry for not thinking about this until now. It's an argument for seeking/doing implementations early on in the process as per our new work flow.)
from accname.
Related Issues (20)
- Seeking clarity on name property with `div` HOT 5
- AccName algo probably needs an update for ::marker HOT 6
- AccName term "CSS textual content" for pseudo elements is undefined/ambiguous HOT 1
- AccName forces whitespace joiners between all inline element scenarios HOT 5
- Update old after/before pseudo-element reference link in section 4.3.2 F HOT 1
- Interior whitespace questions in this AccName text node test HOT 12
- Ambiguity in AccName LabelledBy section: "[if] current node is not already 'part of' [sic]…traversal" HOT 19
- Task: verify review feedback from PR 150 made it in
- Ambiguous but normative requirement about hidden nodes is hidden by default in AccName HOT 6
- Clarifying "text node" definition (step 2G) HOT 1
- `name` not allowed on a `li` element HOT 16
- `Summary` not allowed as child of `div`
- Editorial: Remove all the collapsed content in accname
- accname can reference generic with label in a labelledby comp, but is underspecified HOT 3
- ARIA/AccName Conflict: aria-label allowed on generic in a traversal, but labelling a generic is an author error due to "name prohibited" HOT 2
- LabelledBy Recursion is not actually recursive, so it should be renamed. HOT 1
- AccName stable branch is now severely outdated. Is there anything editors recommend keeping? HOT 4
- Consider allowing CSS `inline` display to modify the whitespace character joins in accessible name computation HOT 5
- Links that include header elements omit their descendant content from the link's accessible name HOT 9
- AccName computation: gap in computation HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from accname.