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
[Feature Request] EvTable Enhanced Screenreader Support #3515
Comments
While I don't have anything against the suggestion, I think it would likely be simpler to do a check on the user's protocol in your code and simply not use an EvTable for those with the screenreader flag. The entire functional purpose of EvTable is visual formatting: if you don't need the visual formatting, you don't need the table. |
I don't really know much about the requirements of a screen reader but if you did want something to "unwrap" the table you could pass it through the function below and send the returned string to the client instead of sending the table. Though, as InspectorCaracal says, this would be doing the work then undoing it again instead of just bypassing the EvTable:
This creates a string with one line per cell, in row order. |
In principle, the EvTable's output could implement something like the solution @chiizujin has here, just swapping to it when in screenreader mode. Kinda cumbersome to add that across all commands though. |
Marked as not planned given the alternative solution of handling directly instead of creating a method to essentially invalidate the entire point of EvTable to begin with. |
Describe the solution you'd like
Currently, EvTable formats its rows/columns in such a way that is unfriendly for screenreaders.
In this image, the Description portion of the row wraps into multiple lines. While this is perfect for visual users, it is less-so for those using screenreaders, as the second line will be read AFTER the status report. We should implement a method to negate this multi-line wrapping for screenreader users. The
crop
method in EvCell is a sub-optimal workaround for the time being as the entirety of the text will not display.The text was updated successfully, but these errors were encountered: