Closed Bug 640707 Opened 14 years ago Closed 14 years ago

aria-sort should fire attributechange

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

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)

Request from the wild. Patch coming.
Attached patch patch (obsolete) — Splinter Review
Attachment #518482 - Flags: review?(surkov.alexander)
Note I created a separate test file for this instead of merging attr change tests because of our coalescence :)
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+
(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)
If you didn't do that in separate invokers and for the same node then yes. Just do it in different invokers.
David, is this patch ready taking into account comments 3-5 concerning to mochitest organization?
(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.
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.
Found some time on the plane on Sunday :)
Attachment #518482 - Attachment is obsolete: true
Attachment #524279 - Flags: review+
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"
Ping? This is needed for full accessibility of the new version of Y! Mail.
(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.
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
Mentioned on Firefox 6 for developers.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: