Skip to content

action-menu initial a11y state can be out of sync #12532

@jcfranco

Description

@jcfranco

Check existing issues

Actual Behavior

Occasionally, the aria-activedescendant attribute on action-menu items can be incorrect on initial load.

Expected Behavior

Items have accurate a11y state when initialized

Reproduction Sample

https://codepen.io/jcfranco/pen/wBaLrNB

Reproduction Steps

  1. open console panel
  2. reload page until state is incorrect (console shows status)

Reproduction Version

3.2.1

Relevant Info

No response

Regression?

No response

Priority impact

impact - p2 - want for an upcoming milestone

Impact

This issue is causing instability in the src/components/action-menu/action-menu.e2e.ts > calcite-action-menu > Keyboard navigation > should handle ArrowDown navigation with disabled/hidden items test.

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

Calcite (dev)

Metadata

Metadata

Assignees

Labels

4 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.Calcite (dev)Issues logged by Calcite developers.a11yIssues related to Accessibility fixes or improvements.bugBug reports for broken functionality. Issues should include a reproduction of the bug.estimate - 1Very small fix or change (potentially a single line), doesn't require updates to tests.p - mediumIssue is non core or affecting less that 60% of people using the library

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions