-
Notifications
You must be signed in to change notification settings - Fork 708
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
Fixes accessibility issue when reading epubs #12183
base: develop
Are you sure you want to change the base?
Fixes accessibility issue when reading epubs #12183
Conversation
Your free trial has expired. To keep using Ellipsis, sign up at https://app.ellipsis.dev for $20/seat/month or reach us at [email protected] |
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.
Implementation seems correct to me! Thanks @nathanaelg16
Leaving final review to @radinamatic @pcenov after further accessibility QA is done!
Build Artifacts
|
Thank you for diving into trying to fix this accessibility issue, @nathanaelg16! However, positive But I digress... Bottom line is that I think we need some more general decision before approaching the fix for this specific issue. If this was more than one-off PR and you are interested to contribute more to improve the keyboard navigation in Kolibri epub renderer, please join our Kolibri #dev-community channel on Slack, where we can decide what would be the best approach. Thank you! |
Thank you @radinamatic for your feedback. I was debating whether to set the tabIndex to a positive or negative value, but the negative value didn't seem right either. I'd be happy to join the Slack channel and continue discussing this! Thanks |
Thanks both. Just general FYI on the PR - this is already being discussed on Slack. Some decisions are needed and @radinamatic is planning to have a look at it at some point. |
Leaving this PR open in case it's handy but note #10371 (comment) |
Summary
These changes fix the issue for those using tabs to navigate through books using the epub viewer library. Previously, one could never reach the Right Navigation button due to the tabindex terminating with the epub viewer. This change sets the first tab item to be the epubviewer, then all other tab-accessible items will follow the DOM order.
BEFORE
AFTER
References
#10371
Reviewer guidance
Testing checklist
PR process
Reviewer checklist
yarn
andpip
)