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
Not sure if this is NVDA at fault or the way that the label is hidden but...
The screen reader ignores the hidden label in the Button.stories.ts IconTemplate story. Remove the hidden property and it reads label ("Close ") as expected (but also displays the label).
Not sure if this is NVDA at fault or the way that the label is hidden but...
The screen reader ignores the hidden label in the Button.stories.ts IconTemplate story. Remove the hidden property and it reads label ("Close ") as expected (but also displays the label).
const IconTemplate = ({ label, variant, svg }) => html
<buttonclass="${variant}"
aria-labelledby="close-button-label"
is="in-button"
`;
export const Icon = IconTemplate.bind({});
`
Inspecting the button element shows that the span includes the hidden prop and the label text ("Close")
The text was updated successfully, but these errors were encountered: