Open Bug 2043336 Opened 6 months ago Updated 6 months ago

List item children outside of <ul>, <ol> and <menu> should be exposed as generic

Categories

(Core :: Disability Access APIs, defect)

Firefox 153
defect

Tracking

()

UNCONFIRMED

People

(Reporter: abdi.abdirahim, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.5 Safari/605.1.15

Steps to reproduce:

Navigate to a list that is not part of a <ul>, <ol> or <menu> with a screen reader
Observe that list items outside of the ARIA permitted context are exposed as lists item

Actual results:

The element is exposed as a list item

Expected results:

The element should not be exposed as a list item.

See ARIA PR #2212: https://github.com/w3c/aria/pull/2212.

The Bugbug bot thinks this bug should belong to the 'Core::Disability Access APIs' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Disability Access APIs
Product: Firefox → Core

I'm not quite following. Can you provide a simple test snippet to illustrate this? If I do something like:

data:text/html,<li>foo

The <li> is exposed with a role of generic.

Blocks: htmla11y
Severity: -- → S4
Flags: needinfo?(abdi.abdirahim)
You need to log in before you can comment on or make changes to this bug.