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

Add page about accessibility docs #123

Merged
merged 8 commits into from
Apr 11, 2023

Conversation

gabalafou
Copy link
Collaborator

@gabalafou gabalafou commented Apr 3, 2023

This PR addresses the problem that if you search the web for Jupyter-related accessibility docs, you are highly likely to end up at this repo because it tends to be in the top few results (at least whenever I search across various search engines). But this repo serves as the team compass for Jupyter Accessibility, not as a repo for end-user accessibility docs.

So this PR adds a page about the current state of accessibility docs and puts links to this new page in four highly visible places:

  1. At the top of this repo's README
  2. At the top of this repo's ReadTheDocs home page
  3. At the top of the ReadTheDocs table of contents sidebar
  4. At the top of the "Useful resources" page in the ReadTheDocs site

📚 Documentation preview 📚: https://jupyter-accessibility--123.org.readthedocs.build/en/123/

@gabalafou
Copy link
Collaborator Author

More needs to be done, but this is a start.

@gabalafou
Copy link
Collaborator Author

@steff456 (I don't know how to add you as a reviewer)

@gabalafou
Copy link
Collaborator Author

I think the links check is failing because I put the following URL in the repo readme:

https://jupyter-accessibility.readthedocs.io/en/latest/accessibility-docs

which doesn't exist until this PR is merged and triggers a ReadTheDocs deploy.

But there are some other failures or warnings in the log that I'm not sure about.

Copy link
Collaborator Author

@gabalafou gabalafou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done self-reviewing, now I need other people to review this PR :)

@@ -124,13 +124,13 @@ If you wish to manually build the documentation, you can use `conda` to do so.
1. Create a `conda` environment to build the documentation.

```bash
conda env create -n accessibility-docs python=3.9
conda env create -n a11y-team-compass-docs python=3.9
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I renamed the conda environment here and in other places to help avoid confusion. I was thinking somebody might skim this and think that these are commands for building end-user-facing accessibility docs

@@ -32,10 +38,3 @@ Jupyter notebook Accessibility Statement
^^^
**Coming soon**
````

## Using Jupyter Software with Assistive Technology
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved this info into the accessibility-docs page

@@ -12,9 +14,6 @@ guides, and documentation related to this:
- [The tota11y toolbar](https://khan.github.io/tota11y/) is a lightweight javascript toolbar for quick a11y analysis.
- [The WAVE tool](http://wave.webaim.org/report#/http://z2jh.jupyter.org/) is a web analyzer for page accessibility.

## Jupyter a11y tech
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved to accessibility-docs

@@ -1,5 +1,7 @@
# Useful Jupyter Accessibility Resources

Looking for [accessibility docs?](../accessibility-docs)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wherever I removed the links to the a11y toolbar or the NVDA add-on, I added a link to accessibility-docs

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as above

docs/index.md Outdated
Comment on lines 3 to 6
## Accessibility docs

Looking for [accessibility docs?](accessibility-docs)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should be an admonition of some kind but I'm not super familiar with MyST and I didn't want to spend too much time on this

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to duplicate this one?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so yes because the goal for me with this PR is if somebody lands on one of our jupyter-accessibility pages after doing a search for Jupyter(Lab) accessibility - then I want to point them to the page I created in this PR.

The README.md file is shown in the front page of the GitHub repo, which is a high match in search engines for "jupyter" and "accessibility" - it's what you see at this URL: https://github.com/jupyter/accessibility

The index.md file is the front page for the team compass site, at this URL: https://jupyter-accessibility.readthedocs.io/en/latest/

I could potentially remove the pointer from useful-resources.md, but I think in that case we would need to restructure the organization of the team compass site. Because my concern with the current structure is that if someone lands on that page looking for VSCode-style user-facing accessibility docs, and they are trying to quickly locate something, their eye might land on "resources" and think that that's a match for what they're looking for, only to discover that it isn't. Because in this PR, I removed the link to the toolbar, the resources page after this PR only has resources that are mostly aimed at contributors or auditors.

Or are you asking something entirely different? Are you asking if there's a way to include a markdown snippet across several files, rather than copy-pasted the same content? That I don't know.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if i want to tab to the docs link, i'll have to tab through the header which seems like an unnecessary step.

i don't think that this should be heading. the call to action makes the most semantic sense as a link. an emoji like 🔔 would redirect peoples attention

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tonyfast looking out for this 😌. I changed it as you suggested

README.md Outdated
Comment on lines 3 to 5
## Accessibility Docs

Looking for [accessibility docs?](https://jupyter-accessibility.readthedocs.io/en/latest/accessibility-docs)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not 100% sure about this formatting or wording but I do like that it is short and to the point

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it too

@@ -0,0 +1,42 @@
# Accessibility Docs

If you are looking for accessibility docs[^1] for
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well this is annoying. When I build the docs locally, the footnote works, but when I look at this page on the ReadTheDocs preview build, it doesn't format the footnote: https://jupyter-accessibility--123.org.readthedocs.build/en/123/accessibility-docs.html

Copy link
Contributor

@steff456 steff456 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this PR @gabalafou, I'm not sure if we need to add the message referencing the accessibility docs in every page or if we can just add it on the main page.

README.md Outdated
Comment on lines 3 to 5
## Accessibility Docs

Looking for [accessibility docs?](https://jupyter-accessibility.readthedocs.io/en/latest/accessibility-docs)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it too

docs/index.md Outdated
Comment on lines 3 to 6
## Accessibility docs

Looking for [accessibility docs?](accessibility-docs)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to duplicate this one?

@@ -1,5 +1,7 @@
# Useful Jupyter Accessibility Resources

Looking for [accessibility docs?](../accessibility-docs)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as above

@@ -0,0 +1,42 @@
# Accessibility Docs

If you are looking for accessibility docs[^1] for
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this is the standard format for reference links?

Suggested change
If you are looking for accessibility docs[^1] for
If you are looking for[accessibility docs] [1] for

Comment on lines 37 to 42
[^1]:
If you're not sure what accessibility docs are, we mean documentation
written specifically for disabled users. It should cover what features exist
in the software to help make it more accessible. Example: the [accessibility
docs for Visual Studio
Code](https://code.visualstudio.com/docs/editor/accessibility).
Copy link
Contributor

@isabela-pf isabela-pf Apr 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm less sure about this part. 😆 https://www.markdownguide.org/basic-syntax/#reference-style-links

Suggested change
[^1]:
If you're not sure what accessibility docs are, we mean documentation
written specifically for disabled users. It should cover what features exist
in the software to help make it more accessible. Example: the [accessibility
docs for Visual Studio
Code](https://code.visualstudio.com/docs/editor/accessibility).
[1]: If you're not sure what accessibility docs are, we mean documentation
written specifically for disabled users. It should cover what features exist
in the software to help make it more accessible. Example: the [accessibility
docs for Visual Studio
Code](https://code.visualstudio.com/docs/editor/accessibility).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't sure either, so rather than wrestle with the syntax, I cut the footnote and put it in parentheses at the end of the first paragraph.

Copy link
Contributor

@steff456 steff456 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we discussed in our internal meeting today, this PR is ready to merge. Thanks for working in this @gabalafou!

@gabalafou gabalafou merged commit f86e3e7 into jupyter:main Apr 11, 2023
@gabalafou gabalafou deleted the accessibility-docs branch April 11, 2023 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants