We need to be able to set the role attribute on pf-button
#2805
Labels
accessibility
Improve accessibility
bug
needs AT updates
Please make updates to the automated testing.
needs discussion
needs to be discussed outside the PR
needs: prioritization
To be prioritized
Description of the issue
Devs need to be able to set the role attribute on pf-button. For example, I am using pf-button as a tab control and I need to set the
role=tab
directly on pf-button in order to follow the proper design pattern for the carousel slider I am working on.Please see the following link for more info about the carousel design pattern
Impacted component(s)
pf-button
Steps to reproduce
role="tab"
to the pf-buttonExpected behavior
The role attribute is added to the button in the shadow root with whatever the user needs the role to be, in my case "tab".
This is a sev-2 issue at least because this is causing a very inaccessible experience for cp-slider
The text was updated successfully, but these errors were encountered: