Skip to content

<pf-switch>: Missing required aria attribute #2697

@kylebuch8

Description

@kylebuch8

Description of the issue

The pf-switch is missing the required aria-checked attribute.
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/checkbox_role

Impacted component(s)

  • pf-switch

Steps to reproduce

Expected behavior

There should be an aria-checked attribute present indicating the state of the switch since the switch has a role of checkbox.

Screenshots

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions