Open zcorpan opened 2 years ago
Thanks for writing this up 😇 I think this application would need a lot of accessibility work beyond even what you mentioned -- we should probably generate alt text for the tree visualization in a way that is concise but understandable as well.
It's a pretty large amount of scope but I'm supportive of folks putting up PR's for this!
Some PRs have been created with some points solved (i guess) :
Content outside modal dialog boxes are not inert and so can be reached with screen readers.
Done with #1022
After typing a command (e.g. git status), the resulting text that appears in the terminal should be read (it can be a live region, e.g.
After typing a command, if the graph changes (e.g. git commit), the change should be announced (with a live region, or maybe as additional text in the terminal output).
Done with #1023. I haven't tried VoiceOver (or equivalent) yet.
Done with #1023.
For reference, this was reverted e11d691480 in following the report in #1026. The approach may need to be refined.
Done with #1023.
For reference, this was reverted e11d691 in following the report in #1026. The approach may need to be refined.
Since the issue has been solved, do we put the \<output> elements back or use the aria attributes instead?
I think aria labels would be a lot safer in terms of browser support
Level links are not links.
Done with #1030
Is anyone working on improvements "for people with low vision or color vision deficiency"? If not, I would like to take care of that :)
I'm actually colorblind myself! I'm only the most common colorblind (red/green) so I haven't had any major issues using the application. Color isn't terribly important in our case, it's mostly just a visual aid to show which branches correspond to which commits.
I think the other accessibility issues above are more important / pressing.
Alright! I then would love to have a go on one of them! How about the " Level links are not links." I would like to try keeping it small since it is my first real contribution to an open source project.
Oh I missed it was fixed already with https://github.com/pcottle/learnGitBranching/pull/1030. I will take a look into sth else then :)
Update: I am quite busy atm. I am still taking a look from time to time but do not want to block work on this. If I manage to come up with sth. you will see the pull request
Hi!
I tried using macOS VoiceOver to navigate https://learngitbranching.js.org/ and noticed some accessibility issues:
display: none
or so when not visible)1030
textarea
doesn't have a label.962
<dialog>.showModal()
could help (or maybe theinert
attribute).helperBarMount
could be a<nav>
).git status
), the resulting text that appears in the terminal should be read (it can be a live region, e.g.<output>
). Compare with how VoiceOver works in the macOS Terminal app.git commit
), the change should be announced (with a live region, or maybe as additional text in the terminal output).For people with low vision or color vision deficiency:
You can hide this window with "hide goal"
".