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

MenuToggle - Update a11y docs to include mention dynamic toggle label + aria attributes

Open thatblindgeye opened this issue 6 months ago • 0 comments
trafficstars

Per https://github.com/patternfly/patternfly/issues/6562#issuecomment-2839684312, we should update MenuToggle a11y docs to mention that when the toggle content is expected or intended to be dynamic (such as when used for a Select, where a selected option might become the toggle content), there should also be a static label for the toggle.

Additionally, we should mention when aria-invalid="true" and aria-autocomplete="list" should be applied (the former whenever status is danger, the latter for typeahead toggles only)

thatblindgeye avatar May 05 '25 12:05 thatblindgeye