Closed Bug 581952 Opened 14 years ago Closed 14 years ago

Remove aria-label object attribute (redundant info)

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: davidb, Assigned: davidb)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
Patch attached.
Attachment #460244 - Flags: review?(marco.zehe)
Comment on attachment 460244 [details] [diff] [review]
patch

r=me. Trivial fix. Thanks!
Attachment #460244 - Flags: review?(marco.zehe) → review+
It sounds this patch makes opposite thing to bug description.
(In reply to comment #2)
> It sounds this patch makes opposite thing to bug description.

Nope. I think this is the right description. The relevant code in nsAccessible is:

       if (attrFlags & ATTR_BYPASSOBJ)
         continue; // No need to handle exposing as obj attribute here
I was confused with left/right sides of diff :)

mochitest please.
Sure, this bug is really about making aria-label explicitly not an object attribute, like we did with aria-labelledby. We are doing it late with aria-label because it was added back to the spec since this part of the code was written. I think the fact that it doesn't have the ATTR_VALTOKEN is also enough to ensure it won't appear in the object attributes.
Summary: Remove aria-label object attribute (redundant info) → Make explicit that aria-label is not an object attribute
Oh actually we do need to be explicit. Reverting summary back to original.
Summary: Make explicit that aria-label is not an object attribute → Remove aria-label object attribute (redundant info)
Attachment #460244 - Attachment is obsolete: true
Attachment #461307 - Flags: approval2.0?
Comment on attachment 461307 [details] [diff] [review]
patch (with test)

a=beltzner
Attachment #461307 - Flags: approval2.0? → approval2.0+
http://hg.mozilla.org/mozilla-central/rev/f28156f52558
http://hg.mozilla.org/mozilla-central/rev/b2337fe415d7
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: