Closed Bug 1809475 Opened 3 years ago Closed 3 years ago

MSAA role map for aria role='paragraph' is incorrect

Categories

(Core :: Disability Access APIs, defect)

Firefox 107
Unspecified
Windows
defect

Tracking

()

RESOLVED DUPLICATE of bug 798492

People

(Reporter: spectranaut, Unassigned)

Details

Steps to reproduce:

<div role="paragraph"></div>

In firefox on windows

Actual results:

As you can see, maps to MSAA role "paragraph": https://searchfox.org/mozilla-central/source/accessible/base/RoleMap.h#1006

Expected results:

Should map to "ROLE_SYSTEM_TEXT": https://www.w3.org/TR/core-aam-1.2/#role-map-paragraph

The same issue was filed on chrome, and was marked as "wontfix", instead requesting the specification to be updated to "ROLE_SYSTEM_GROUPING":
https://github.com/w3c/core-aam/pull/161

Summary: MSAA role map for aria role='paragraph' should be ROLE_SYSTEM_TEXT → MSAA role map for aria role='paragraph' is incorrect

I entirely agree with Chrome here. We shouldn't be mapping things other than editable/navigable text controls to ROLE_SYSTEM_TEXT.

(In reply to spectranaut from comment #0)

As you can see, maps to MSAA role "paragraph": https://searchfox.org/mozilla-central/source/accessible/base/RoleMap.h#1006

For MSAA, it currently maps to the string "p". This will be fixed as part of bug 798492. It's low priority, though, since anyone wanting proper semantics on the web is going to use IA2 or UIA, not MSAA.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Duplicate of bug: 798492
Resolution: --- → DUPLICATE

(In reply to James Teh [:Jamie] from comment #2)

For MSAA, it currently maps to the string "p".

Oh, I see what you mean. role="paragraph" maps to the string role "paragraph". HTML <p> maps to the string role "p". Either way, both of these will be covered by bug 798492.

You need to log in before you can comment on or make changes to this bug.