-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Notebook cell results fully unaccessible #93896
Comments
cc @misolori |
@isidorn Can you elaborate a bit more on this one? Usually the results are readonly, not sure how we are going to enable cursor focus on them. If we allow users to tab through the editor and the results, can we call it accessible? For example, say the results are a list of links, users can navigate out of the editor and then navigate through the links in the output container. The workflow is then similar to the Interactive Playground. |
@rebornix even if the resuls are readonly you can make them focusable. For example the extensions view is also a list, and each element is "readonly" but each element can be focused onto. Yes if you allow to tab through the editor and the results that is a good first step towards accessibility. To recap here are the things which need to be done:
I am not sure how the extensions are providing results in what form. Can you maybe fill me in on that? fyi @jrieken |
The output can come with multiple mime types, simple ones like plain text, images, markdown; richer ones like HTML, SVG, etc. Not all mime types are accessible, and it's not something we can push the extension authors to do, it would be a huge overhead if @jrieken needs to make the GitHub html rendering fully accessible. However we can ask extensions to provide accessible mime types. For example, the GitHub notebook should always return at least two mimetypes: markdown and html, the markdown mime type output will be rendered by the core in the main thread, since it's using our own markdown renderer, we can make it accessible, just like Hover. When there are screen reader attached, we should always choose accessible mime types to render as a fancy interactive plot might not be helpful from accessibility's perspective. |
Yes I like both those points. Extensions should be aware of accessiblity and should try to return accessible mime types if possible. |
I am all for implementing this "choose accessible mime type" approach for notebooks when AT is detected. This proves to be another great tool in VS Code, and we should make it's as accessible as possible. |
I am very interested in this one. Currently, working with notebooks in most forms is tricky at best. Making this work in VS Code would open doors to many users who currently want to use these accessibly, but can't. |
@roblourens @ctmayn looking at the PR this fixes the Focus of the note book output which is great! Thanks! Should I open a new issue to capture this or should we reopen this one? |
Not sure whether that's the right thing to do. We can't know which mimetype is most accessible, and html like in the case of the github extension will be just as accessible as a webpage with a simple list, like you can navigate by paragraph or list element and the screenreader will read it and so on. Also if we pick a different mimetype by default then it will just block the extension from actually providing a html output designed with accessibility in mind, right? I guess on one hand some html outputs will be incomprehensible to a screenreader, and on the other hand, some plain text versions will be inferior. Maybe the renderer can tag some output as 'accessible'. |
@roblourens I like that idea of a renderer being able to tag an output as accessible |
Talked about this with Peng, and we don't really have a conclusion. It feels awkward to me to have API to say "this is accessible" when we still don't really understand how some output types could be made to be accessible. Let's wait and see how things develop. |
Currently behavior: if the workbench is in accessibility mode / screen reader attached, In GH Notebook, it's fairly easy to make the |
For what it's worth, I think there often shouldn't be a huge accessibility difference between HTML and Markdown, and if there is a difference for a particular extension's HTML, I'd say that's a problem the extension author can work on. |
The Alt+F2 accessibility view should mostly take care of this issue, specifically for the text based mime types. I think it can be closed in favor of looking into specific issues. |
Refs: #93742
I suggest that the down key would navigate to the results before navigating to the next cell.
I understand you are using a list of editors and that is the reason why the down navigates to the next editor but we need to think about how to make the results navigable to.
Adding label important since this makes the Notebooks not accessible.
The text was updated successfully, but these errors were encountered: