Last Comment Bug 819273 - ARIA combobox should have accessible value
: ARIA combobox should have accessible value
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: Disability Access APIs (show other bugs)
: unspecified
: All All
: -- normal (vote)
: mozilla20
Assigned To: alexander :surkov
:
Mentors:
Depends on:
Blocks: aria 835666
  Show dependency treegraph
 
Reported: 2012-12-07 02:23 PST by alexander :surkov
Modified: 2013-01-28 20:45 PST (History)
1 user (show)
surkov.alexander: in‑testsuite+
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
patch (6.77 KB, patch)
2012-12-07 02:28 PST, alexander :surkov
tbsaunde+mozbugs: review+
Details | Diff | Splinter Review

Description alexander :surkov 2012-12-07 02:23:10 PST
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".
Comment 1 alexander :surkov 2012-12-07 02:28:17 PST
Created attachment 689629 [details] [diff] [review]
patch
Comment 2 Trevor Saunders (:tbsaunde) 2012-12-10 03:24:30 PST
Comment on attachment 689629 [details] [diff] [review]
patch

r=me with the generic type renamed to something less weird than eListControls ;)
Comment 3 Ryan VanderMeulen [:RyanVM] 2012-12-23 13:08:19 PST
https://hg.mozilla.org/mozilla-central/rev/adbb1a174e93

Note You need to log in before you can comment on or make changes to this bug.