Skip to content

Flutter Web: aria-expanded must be an available property on elements that toggle visibility of content (Accessibility) #162141

@jcollins-disney

Description

@jcollins-disney

Use case

The aria-expanded attribute is applied to a focusable, interactive element that toggles visibility of content in another element. For example, show/hide or "accordion" elements, combobox elements, listbox elements, and more.

Proposal

Add the WAI-ARIA property aria-expanded to the list of semantics flags on the following element types/widgets. Its value is true when the content is expanded/visible, and false when the content is collapsed/not visible.

  • application
  • button
  • checkbox
  • combobox
  • gridecell
  • link
  • listbox
  • menuitem
  • row
  • rowheader
  • tab
  • treeitem

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)c: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Fluttercustomer: castawayplatform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-accessibilityOwned by Framework Accessibility team (i.e. responsible for accessibility code in flutter/flutter)triaged-accessibilityTriaged by Framework Accessibility team

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions