Closed
Bug 835666
Opened 12 years ago
Closed 12 years ago
ARIA combobox selected value is not a part of name computation
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: surkov, Assigned: surkov)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Attachments
(1 file, 1 obsolete file)
|
5.37 KB,
patch
|
tbsaunde
:
review+
|
Details | Diff | Splinter Review |
another part of bug 819273 (same description):
it's needed for ARIA test suite: https://dvcs.w3.org/hg/pfwg/raw-file/tip/ARIA/1.0/tests/test-files/accessible-name-input/checkbox-label-embedded-combobox.html
we should pick up an accessible name from accessible value. For example,
<input type="checkbox" id="test" />
<label for="test">Flash the screen
<div role="combobox">
<div role="textbox"></div>
<div role="listbox">
<div role="option">1</div>
<div role="option" aria-selected="true">2</div>
<div role="option">3</div>
</div>
</div>
times.
</label>
input's name should be "Flash the screen 2 times".
We miss combobox value because NameFromSubtree for selected item returns null if we are in recursion.
| Assignee | ||
Comment 1•12 years ago
|
||
Assignee: nobody → surkov.alexander
Status: NEW → ASSIGNED
Attachment #712337 -
Flags: review?(trev.saunders)
| Assignee | ||
Comment 2•12 years ago
|
||
add compressWhitespace otherwise the algorithm adds the space into the end of computed value
Attachment #712337 -
Attachment is obsolete: true
Attachment #712337 -
Flags: review?(trev.saunders)
Attachment #712416 -
Flags: review?(trev.saunders)
Updated•12 years ago
|
Attachment #712416 -
Flags: review?(trev.saunders) → review+
| Assignee | ||
Comment 3•12 years ago
|
||
Flags: in-testsuite+
Comment 4•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•