-
Notifications
You must be signed in to change notification settings - Fork 844
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
[EuiKeyboardAccessible] Discuss deprecation #3838
Comments
There are only two components in EUI that use it (EuiBasicTable and EuiStepHorizontal; one usage each). I'm guessing both instances could benefit from a more tailored approach like mentioned above. |
Don't forget, however, to not just check for usages of the component |
@cchaos I'm only suggesting removing EuiKeyboardAccessible, I'm not suggesting touching EuiScreenReaderOnly at all. I double checked and it doesn't seem like EuiKeyboardAccessible has any associated styles but if you know of any, point me in the direction and I'll check Kibana for it. |
Gah! I so did not read that correctly at all. Sorry... I'm good with deprecating it. Probably just throw a "Set for deprecation" label up on it, and let's add it to the next (Dec. 2020) deprecation cycle #1469 |
Should we remove it from the docs? |
No, just setup a label like we have for EuiNavDrawer. |
So I started taking a look at removing EuiKeyboardAccessible I don't know how to proceed with EuiBasicTable. It uses EuiKeyboardAccessible on a table row which gives it a The best way to make a clickable table row accessible is to delegate click events on the row onto a visible button but that would be a pretty big breaking change. Is that something we can roll out somehow? (Slowly?) |
@myasonik It might be a good idea to just remove |
I'd like to deprecate and remove EuiKeyboardAccessible.
From the docs:
But that doesn't seem to hold up because:
href
attributes shouldn't be interactive so I wouldn't recommend using it like thatAnd, taking a look at Kibana as an example, there are 5 uses of it today:
So, at least in Kibana, there seems to be a lot of misuse of it already.
The text was updated successfully, but these errors were encountered: