Closed
Bug 640707
Opened 14 years ago
Closed 14 years ago
aria-sort should fire attributechange
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla6
People
(Reporter: davidb, Assigned: davidb)
References
(Blocks 2 open bugs)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 1 obsolete file)
5.95 KB,
patch
|
Details | Diff | Splinter Review |
Request from the wild. Patch coming.
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #518482 -
Flags: review?(surkov.alexander)
Assignee | ||
Comment 2•14 years ago
|
||
Note I created a separate test file for this instead of merging attr change tests because of our coalescence :)
Comment 3•14 years ago
|
||
Comment on attachment 518482 [details] [diff] [review]
patch
> test_aria_hidden.html \
> test_aria_menu.html \
>+ test_aria_sort.html \
perhaps you should combine with aria_hidden and name it test_objattrchange.html?
Attachment #518482 -
Flags: review?(surkov.alexander) → review+
Assignee | ||
Comment 4•14 years ago
|
||
(In reply to comment #3)
> Comment on attachment 518482 [details] [diff] [review]
> patch
>
>
> > test_aria_hidden.html \
> > test_aria_menu.html \
> >+ test_aria_sort.html \
>
> perhaps you should combine with aria_hidden and name it
> test_objattrchange.html?
I tried exactly that (same name even) locally before posting the patch. I wasn't getting the both events, which I assumed to be our coalescence? (comment 2)
Comment 5•14 years ago
|
||
If you didn't do that in separate invokers and for the same node then yes. Just do it in different invokers.
Comment 6•14 years ago
|
||
David, is this patch ready taking into account comments 3-5 concerning to mochitest organization?
Assignee | ||
Comment 7•14 years ago
|
||
(In reply to comment #5)
> If you didn't do that in separate invokers and for the same node then yes. Just
> do it in different invokers.
I had separate invokers. Strange (maybe I forgot a 'var' or something). I'd prefer to land the patch as is, with a follow up; given priorities.
Comment 8•14 years ago
|
||
If we are both agree it makes testsuite cleaner then we should get it fixed. If you don't have time to finish it then you should ask somebody. The fix should be easy.
Assignee | ||
Comment 9•14 years ago
|
||
Found some time on the plane on Sunday :)
Attachment #518482 -
Attachment is obsolete: true
Attachment #524279 -
Flags: review+
Assignee | ||
Updated•14 years ago
|
Attachment #524279 -
Flags: review+
Comment 10•14 years ago
|
||
Comment on attachment 524279 [details] [diff] [review]
patch to land (combined tests)
>+ testAttrs("sort", {"sort" : "ascending"}, true);
> testAttrs("sortAscending", {"sort" : "ascending"}, true);
>+
>+ <div id="sort" role="columnheader" aria-sort="ascending">a column header</div>
why do you need this if you have
<div id="sortAscending" role="columnheader" aria-sort="ascending"></div>
>+ this.getID = function updateSort_getID()
>+ {
>+ return "aria-sort for " + aID + " " + aSort;
perhaps "change aria-sort on " + aSort + " for " + prettyName(aID)?
>+ <div id="sortable" role="columnheader" aria-sort"none">a column</div>
aria-sort="none"
Comment 11•14 years ago
|
||
Ping? This is needed for full accessibility of the new version of Y! Mail.
Assignee | ||
Comment 12•14 years ago
|
||
(In reply to comment #10)
> Comment on attachment 524279 [details] [diff] [review] [review]
> patch to land (combined tests)
>
>
> >+ testAttrs("sort", {"sort" : "ascending"}, true);
> > testAttrs("sortAscending", {"sort" : "ascending"}, true);
> >+
> >+ <div id="sort" role="columnheader" aria-sort="ascending">a column header</div>
>
> why do you need this if you have
> <div id="sortAscending" role="columnheader" aria-sort="ascending"></div>
Good catch, it is redundant. I've removed it locally.
> >+ <div id="sortable" role="columnheader" aria-sort"none">a column</div>
>
> aria-sort="none"
Sure, updated locally.
Looking for a clean try run before landing.
Assignee | ||
Comment 13•14 years ago
|
||
Landed on central: http://hg.mozilla.org/mozilla-central/rev/43fa778d3f1b
Should see this in FF6.
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla6
Updated•14 years ago
|
Blocks: 2011ymaila11y
Updated•14 years ago
|
Keywords: dev-doc-needed
Comment 14•13 years ago
|
||
Mentioned on Firefox 6 for developers.
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•