-
Notifications
You must be signed in to change notification settings - Fork 887
[EuiResizablePanel] Added tabindex prop to EuiResizablePanel for keyboard accessibility. #6534
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
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -128,6 +128,10 @@ export interface EuiResizablePanelProps | |
| * Custom CSS properties applied to the wrapping `.euiResizablePanel` div | ||
| */ | ||
| style?: CSSProperties; | ||
| /** | ||
| * tabIndex={0} provides full keyboard access when content overflows `<EuiResizablePanel />` | ||
| */ | ||
| tabIndex?: number; | ||
|
Comment on lines
+131
to
+134
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just to clarify, did you add this primarily just to highlight/promote usage to devs? This doesn't actually affect source code, correct?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correct. This is to highlight times it makes sense to add a |
||
| /** | ||
| * Props to add to the wrapping `.euiResizablePanel` div | ||
| */ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| **Bug fixes** | ||
|
|
||
| - Fixed `EuiResizablePanel` to accept `tabindex` prop so keyboard users can navigate content that overflows its container | ||
|
1Copenut marked this conversation as resolved.
Outdated
|
||
Uh oh!
There was an error while loading. Please reload this page.