-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Incorrect use of aria-hidden
with LabIcon
in launcher
#16167
Comments
If we want to allow passing jupyterlab/packages/ui-components/src/icon/labicon.tsx Lines 455 to 499 in bbf6ccf
as currently everything other than className, container, label, title and tag goes to
which ironically does not check if the keys are valid style keys, it just defines them as Maybe we should deprecate |
Description
The notebook/console/other icons in Launcher sections have
aria-hidden
defined in:jupyterlab/packages/launcher/src/widget.tsx
Lines 171 to 180 in 62dcce8
But this is incorrect and does not achieve the intended result because these attributes are passed to style, not the node:
Reproduce
Expected behavior
aria-hidden
is defined in a such a way that it is set on the HTML node.Context
The
aria-hidden
was introduced in #15265 (CC @j264415)The text was updated successfully, but these errors were encountered: