-
Notifications
You must be signed in to change notification settings - Fork 121
939 accessibility options #943
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
base: master
Are you sure you want to change the base?
Conversation
feat: dockview accessibility
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 182a2ae:
|
fb055e5 to
5c5ba11
Compare
5c5ba11 to
182a2ae
Compare
| this.element.role = 'tablist'; | ||
| this.element.ariaLabel = | ||
| 'Use the Left Arrow to select the previous tab, Right Arrow for the next tab, Home for the first tab, and End for the last tab. Press Enter to select the focused tab.'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @mathuo,
These attributes can only be set below lines
dockview/packages/dockview-core/src/dockview/components/titlebar/tabs.ts
Lines 108 to 112 in 182a2ae
| if (accessor.options.scrollbars === 'native') { | |
| this._element = this._tabsList; | |
| } else { | |
| const scrollbar = new Scrollbar(this._tabsList); | |
| this._element = scrollbar.element; |
The _element property is undefined at this point
No description provided.