-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add aria-label API to Grid #6749
Comments
I don't think we can use |
Yes, with |
No, we can't, that was a brainfart. But an That did make me realize, however, that a built-in title element for |
On the Java side you can set the aria-label by doing this:
|
Add 'accessibleName' property to Grid which is used to define the `aria-label` property on the `<table>` inside the shadow root. Part of #6749
What is the problem?
Setting an accessible name on a
vaadin-grid
would require it to be applied to the<table>
element inside the component's shadow DOM. Thus, there is no non-hacky way to achieve this currently.accessible-name
/accessible-name-ref
properties, as supported by certain other components, would be appropriate, and aHasAriaLabel
implementation in the Flow component.Browsers
Screen Readers
The text was updated successfully, but these errors were encountered: