You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quick updated on this. I've taken a look at what level of effort would look like to implement this. We'll likely tackle this alongside these planned a11y-focused improvements:
The reason being is that currently the normal Tab component uses an html structure like this:
<label><div>...</div></label>
The more appropriate structure for a11y would be something more like this:
<label><button>...</button></label>
However, we have a lot of overall tab styling applied via the outer-most element (the label) where as this should likely be applied to the button instead. By doing this, we can likely implement something like this:
<buttondisabled={prunedRestProps().disabled}>
Otherwise we have to implement this change in multiple places (visually on label; functionally on button). With the small refactor coming from the a11y changes, I think it'll be best to handle all this at once in the near future.
Describe the feature in detail (code, mocks, or screenshots encouraged)
As per title.
It is possible to reduces the opacity of the element, when setting the component to
disable={true}
.Similar to the tailwind Button component.
What type of pull request would this be?
Enhancement
Provide relevant links or additional information.
Similar to the tailwind Button component.
The text was updated successfully, but these errors were encountered: