Closed Bug 819273 Opened 7 years ago Closed 7 years ago

ARIA combobox should have accessible value

Categories

(Core :: Disability Access APIs, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: surkov, Assigned: surkov)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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".
Attached patch patchSplinter Review
Attachment #689629 - Flags: review?(trev.saunders)
Comment on attachment 689629 [details] [diff] [review]
patch

r=me with the generic type renamed to something less weird than eListControls ;)
Attachment #689629 - Flags: review?(trev.saunders) → review+
Flags: in-testsuite+
https://hg.mozilla.org/mozilla-central/rev/adbb1a174e93
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Blocks: 835666
You need to log in before you can comment on or make changes to this bug.