Skip to content
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

Default Jupyter Book build web accessibility issues #2135

Open
d33bs opened this issue Mar 19, 2024 · 1 comment
Open

Default Jupyter Book build web accessibility issues #2135

d33bs opened this issue Mar 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@d33bs
Copy link

d33bs commented Mar 19, 2024

Describe the bug

Thanks for the great work on this project, it's awesome! In beginning to develop content through Jupyter Book I noticed there are several web accessibility issues which are present in the default builds. These seem like they could be addressed to help meet web accessibility standards. I tried searching for existing issues which cover this and noticed none that are still open. #436 acknowledges existing web accessibility issues but was closed due to not being specific / actionable enough. My hope here is to provide specific and actionable feedback on what could be addressed in the default builds using Jupyter Book.

Specifically, I see that the following are issues based on WCAG 2 AA conformance standards.

// search form has no submit button
"WCAG2AA.Principle3.Guideline3_2.3_2_2.H32.2",
// heading tags detected with no content
"WCAG2AA.Principle1.Guideline1_3.1_3_1.H42.2",
// search form duplicate id
"WCAG2AA.Principle4.Guideline4_1.4_1_1.F77"

Please see below for a reference to some example code which may be used to demonstrate these issues.

If possible, I'd also be interested in hearing about potential workarounds to help remedy the issues through template customization, etc. Just the same, it feels important that these are addressed in the default builds from Jupyter Book. Thank you for any thoughts or guidance you have on this topic!

Reproduce the bug

I used pa11y on the HTML files created from jupyter-book build using mostly default settings. Please see here for a reference to a GitHub Actions workflow run with the results that cite the above failure codes.

List your environment

Jupyter Book      : 1.0.0
External ToC      : 1.0.1
MyST-Parser       : 2.0.0
MyST-NB           : 1.0.0
Sphinx Book Theme : 1.1.2
Jupyter-Cache     : 1.0.0
NbClient          : 0.9.0
@d33bs d33bs added the bug Something isn't working label Mar 19, 2024
Copy link

welcome bot commented Mar 19, 2024

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.

If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).

Welcome to the EBP community! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant