patternfly-elements icon indicating copy to clipboard operation
patternfly-elements copied to clipboard

dropdown: disabled dropdown should still be focusable and reveal options

Open nikkimk opened this issue 2 years ago • 1 comments

Description of the issue

WAI-ARIA recommends elements of a larger composite widget remain focusable.

Impacted component(s)

  • pf-dropdown

Steps to reproduce

  1. Go to Dropdown documentation -> Disabled dropdown
  2. Try to tab to the dropdown and open it.

Expected behavior

A disabled dropdown should still open but have all options disabled.

nikkimk avatar Jan 19 '24 18:01 nikkimk

the disabled dropdown at http://v4-archive.patternfly.org/v4/components/dropdown#disabled-toggles is not focusable. we can't diverge from upstream. a11y issues on patternfly should be filed there.

bennypowers avatar Jan 20 '24 17:01 bennypowers

the disabled dropdown at http://v4-archive.patternfly.org/v4/components/dropdown#disabled-toggles is not focusable. we can't diverge from upstream. a11y issues on patternfly should be filed there.

As discussed in chat, Nikki verified with pf team that her solution should be adopted upstream

bennypowers avatar Mar 27 '24 12:03 bennypowers