Last Comment Bug 812041 - ARIA slider and spinbutton don't provide a value for name computation
: ARIA slider and spinbutton don't provide a value for name computation
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: Disability Access APIs (show other bugs)
: unspecified
: All All
: -- normal (vote)
: mozilla19
Assigned To: alexander :surkov
:
Mentors:
Depends on:
Blocks: aria
  Show dependency treegraph
 
Reported: 2012-11-14 18:13 PST by alexander :surkov
Modified: 2012-11-19 07:38 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 (4.87 KB, patch)
2012-11-14 19:13 PST, alexander :surkov
tbsaunde+mozbugs: review+
Details | Diff | Review

Description alexander :surkov 2012-11-14 18:13:46 PST
1) tracker https://wiki.mozilla.org/Accessibility/ARIA1.0TestSuiteFailures#637
2) item d) of the alg: http://asurkov.blogspot.ru/2012/11/accessilbe-firefox-text-equivalent.html:

"If the node is not initial node or if it's recursively reentered initial node but it's not the fist or last part of a text equivalent computation then append the current user-managed value of this node."
Comment 1 alexander :surkov 2012-11-14 19:13:26 PST
Created attachment 681827 [details] [diff] [review]
patch
Comment 2 Trevor Saunders (:tbsaunde) 2012-11-16 10:58:16 PST
Comment on attachment 681827 [details] [diff] [review]
patch

It would be sort of nice to have some tests for more basic cases like <input role=slider value="foo"> so should someone need to debug what's going wrong there can be less posibilities
Comment 3 alexander :surkov 2012-11-16 22:10:33 PST
(In reply to Trevor Saunders (:tbsaunde) from comment #2)
> Comment on attachment 681827 [details] [diff] [review]
> patch
> 
> It would be sort of nice to have some tests for more basic cases like <input
> role=slider value="foo"> so should someone need to debug what's going wrong
> there can be less posibilities

when name is computed for <input> itself then value is not included. It's sort of simplest plausible example. we could compute name for label (that's a simpler test case) but we have a bug saying that we probably shouldn't compute name for label from subtree.
Comment 5 Ed Morley [:emorley] 2012-11-19 07:38:06 PST
https://hg.mozilla.org/mozilla-central/rev/7c34912e0cbc

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