Skip to content

Dropdown: replace suppressed-axe panel demos with a proper Popover surface (a11y) #43

Description

@lifeiscontent

The Dropdown 'Display Properties' / 'Display Accordion' demos render radios/checkboxes/pills inside a role="menu" surface, which isn't valid ARIA, so 3 axe rules are disabled to pass the gate:

  • aria-allowed-attr (×2, dropdown.stories.tsx ~716/848)
  • aria-required-children (×1, ~1004)

These are the only suppressed a11y rules in the whole library. Real fix: build a dedicated Popover (non-menu) surface for settings-panel-style content so those patterns are valid without disabling axe rules, then remove the suppressions. Related: #16 open questions.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions