Closed Bug 309472 Opened 20 years ago Closed 20 years ago

Start of equations and diagrams not indicated in accessible tree

Categories

(Core :: Disability Access APIs, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.8beta5

People

(Reporter: aaronlev, Assigned: aaronlev)

Details

(Keywords: access, fixed1.8, Whiteboard: [ETA: need review ])

Attachments

(2 files, 1 obsolete file)

Currently MathML and SVG content is available via ISimpleDOMNode, but there is no way while reading the MSAA tree to know that content has begun. We can expose a <math> element as ROLE_EQUATION, and an <svg> element as ROLE_DIAGRAM
The screen reader can look at the DOM children of these IAccessibles by using ISimpleDOMNode (QI to that from IAccessible)
Attachment #196937 - Flags: review?(parente)
Comment on attachment 196937 [details] [diff] [review] Simple patch to expose ROLE_EQUATION for <math> or ROLE_DIAGRAM for <svg> Is the comment block a few lines up in nsAccessibilityService still valid? Says tags that aren't html, have tab index, or have an XHTML2 role aren't in the accessible tree. math and svg are exceptions? Is putting the implementation of GetRole in nsBaseWidgetAccessible.h recommended?
Attachment #196937 - Flags: review?(parente) → review+
Comment on attachment 196937 [details] [diff] [review] Simple patch to expose ROLE_EQUATION for <math> or ROLE_DIAGRAM for <svg> Good catch on the comment. I don't think it matters if we do inline methods for really simple stuff. We do that all over the place in Gecko.
Attachment #196937 - Flags: superreview?(tor)
Target Milestone: --- → mozilla1.8beta5
Attachment #196937 - Flags: superreview?(tor)
Attachment #197612 - Attachment is obsolete: true
Attachment #197612 - Flags: superreview?(tor)
Attachment #197612 - Flags: review?(parente)
Comment on attachment 197615 [details] [diff] [review] Changes to nsAccessibilityService: 1) Check namespace of <svg> and <math>, 2) Always use role to create object unless special role=presentation, 3) Remove unnecessary arg from GetRole() What are objects with roles ending in :presentation?
Attachment #197615 - Flags: review?(parente) → review+
(In reply to comment #7) > (From update of attachment 197615 [details] [diff] [review] [edit]) > What are objects with roles ending in :presentation? That's the DHTML a11y way of removing an object from the accessibility hierarchy. The author is saying that it is there for presentation only. Thus <table xhtml2:role="wairole:presentation"> is a table used only for layout, not for data.
Whiteboard: [ETA: need review ]
Attachment #197615 - Flags: superreview?(tor) → superreview+
Attachment #197615 - Flags: approval1.8b5?
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Attachment #197615 - Flags: approval1.8b5? → approval1.8b5+
Comment on attachment 197615 [details] [diff] [review] Changes to nsAccessibilityService: 1) Check namespace of <svg> and <math>, 2) Always use role to create object unless special role=presentation, 3) Remove unnecessary arg from GetRole() we're now locked down and in ship mode for 1.8b5. If you'd like to re-request approval for this change, please set the approval1.8rc1? flag.
Attachment #197615 - Flags: approval1.8b5+ → approval1.8b5-
Sorry, this was checked into the branch on 9/30 (fixed in 10/1 build).
Keywords: fixed1.8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: