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)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21

People

(Reporter: surkov, Assigned: surkov)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(1 file, 1 obsolete file)

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.
Attached patch patch (obsolete) — Splinter Review
Assignee: nobody → surkov.alexander
Status: NEW → ASSIGNED
Attachment #712337 - Flags: review?(trev.saunders)
Attached patch patch2Splinter Review
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)
Attachment #712416 - Flags: review?(trev.saunders) → review+
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.

Attachment

General

Created:
Updated:
Size: