-
Notifications
You must be signed in to change notification settings - Fork 75
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
Confusing UX with the tutorial and screen readers #5531
Comments
There’s a few different things going on here.
|
The tutorial is marked up as a form, which will probably cause problems. In forms mode, a screen reader will ignore anything that isn't a form input or control. |
The tutorial dialog doesn't have |
We could move the tutorial from the new classifier to the react-components package and publish it. Then switch to that one here to the new one? This would also necessitate refactoring the http requests into a redux store here too I think. Whichever is less of a headache/less time is probably the best option. |
I think the new one still needs the fixes that are implemented here, but that sounds good. Would that also mean getting the tutorial tab to work in PFE? I notice that the Task button does nothing in PFE (and the Tutorial button appears to do nothing) because PFE doesn't have the tutorial in a tab panel. EDIT: sorry, the fixes that are implemented in #5535. I thought I was commenting on that PR. |
Ah, I didn't realize the new tutorial has the same issue. Swapping the tutorial was what I saw as the other option if it was easier to fix it there and/or it was already working as expected. |
#5535 is just some small markup changes to make the radio button labels more explicit, and to try and force the browser to announce when the tutorial content changes. Plus a bunch of linting. Working on it, I realised we've essentially built a tabbed component which is presented as a tab panel inside another tabbed component. |
I just came across this, from the same volunteer.
I wonder if we're rendering duplicate tutorial controls for each step? Interesting that stuff is hidden visually but not hidden from the DOM. |
Yeah, I think it's using a CSS technique for slide shows, which renders all the slides in the DOM and uses CSS to display the 'active' slide. I'll add the tutorial from the new classifier to the storybook so we can start testing it for these issues. I'm still of half a mind to focus on fixes there and just swap out the PFE tutorial for the new one so we have one less thing depending on modal-form. |
Looking at the code, there's only ever one slide step rendered in the DOM, which I think is the same behaviour as the new tutorial. Panoptes-Front-End/app/classifier/tutorial.jsx Lines 259 to 320 in 3af6e6a
|
I've opened #5541 for the specific problem of navigating the tutorial. From what I remember, the new tutorial uses exactly the same setup: radio buttons beneath the tutorial to select the current step. |
Working on the tutorial again today, I realised that the mini-course uses almost exactly the same code so will have similar access issues. |
Sorry I'm not gonna have time to look at this today. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closed by probot-stale due to a lack of recent activity. Please feel free to re-open if you wish to take on this change. |
Expected behavior
Current behavior
Please include any error messages from the browser console and/or screenshots
Original report:
https://www.zooniverse.org/projects/anaelisa24/sounds-of-new-york-city-sonyc/talk/1795/1143269?comment=1867713
https://www.zooniverse.org/talk/18/1145904
Steps to replicate
Additional information
Windows 10
Firefox and Chrome with NVDA (https://www.nvaccess.org/)
The text was updated successfully, but these errors were encountered: