Closed Bug 429666 Opened 16 years ago Closed 16 years ago

Expose ROLE_DOCUMENT for ARIA landmarks that inherit from document

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.9.1a1

People

(Reporter: aaronlev, Assigned: aaronlev)

References

(Blocks 1 open bug)

Details

(Keywords: access, Whiteboard: post1.9[has-patch,has-review])

Attachments

(2 files, 1 obsolete file)

At least 1 ARIA landmark inherits from "document" -- it's role="article".

For the ATK/MSAA enumerated roles we are supposed to expose the closest role. In this case that would be ROLE_DOCUMENT.

I'll have to check to see if there are other sitatuons like this.
There are no other descendant roles for document.
Attachment #316809 - Flags: review?(marco.zehe)
Comment on attachment 316809 [details] [diff] [review]
Support article with ROLE_DOCUMENT

r=me
Attachment #316809 - Flags: review?(marco.zehe) → review+
Attachment #316809 - Flags: approval1.9?
Comment on attachment 316809 [details] [diff] [review]
Support article with ROLE_DOCUMENT

Tests?  Explanation of risk?  Re-request approval once addressed.
Attachment #316809 - Flags: approval1.9? → approval1.9-
Whiteboard: post1.9
Whiteboard: post1.9 → post1.9[has-patch,has-review]
Aaron, is there a test page I could use for a Mochitest for this one?
Attached file Testcase: just use role="article" (obsolete) —
Original patch by Aaron, this also contains a Mochitest for it.
Attachment #324597 - Attachment is obsolete: true
Attachment #325233 - Flags: review?(surkov.alexander)
Comment on attachment 325233 [details] [diff] [review]
Patch containing both original patch and Mochitest

r=me.
Though I would suggest to call the file as "test_aria_role_article". We have already the file (test_aria_activedescendant). It should be easier to find out that file and extend test in the future.
Attachment #325233 - Flags: review?(surkov.alexander) → review+
Pushed in changeset:
http://hg.mozilla.org/mozilla-central/index.cgi/rev/cc03e7e0747b
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Verified fixed in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a1pre) Gecko/2008062603 Minefield/3.1a1pre
Status: RESOLVED → VERIFIED
Target Milestone: --- → mozilla1.9.1a1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: