Elements intended only for screen readers degrade some interactions #147105
-
Select Topic AreaBug GitHub Feature AreaUI/UX BodyThe h2 elements with class "sr-only", attribute
This issue seems to occur because there is nothing separating the h2 from its following ol, and one way to fix it would be insertion of a zero-width space Other instances of class "sr-only" have similar effects, such as how copying the "$organizationName/$repositoryName" in the repository page context header excludes the sr-only slash, resulting in e.g. a selection of "communitycommunity". |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
Thank you @gibson042 for your feedback! We will file this with our Accessibility team so that it can be reviewed and will follow-up here with any additional questions or updates. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Hello @gibson042 - great news, a fix was just implemented to resolve this issue! Could you take a few moments to re-test this on your end, making sure to refresh the page and/or clear your browser cache? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Thanks, that's great! Even copying the "$organizationName/$repositoryName" repository page context header content is improved, although it still does not include the slash in Chrome (e.g., the top of https://github.com/community/community copies as "community\ncommunity" rather than "community/community"). But that is very minor, and comes up about an order of magnitude less frequently... I'm comfortable with considering this issue resolved. Much appreciated! |
Beta Was this translation helpful? Give feedback.
Thanks, that's great! Even copying the "$organizationName/$repositoryName" repository page context header content is improved, although it still does not include the slash in Chrome (e.g., the top of https://github.com/community/community copies as "community\ncommunity" rather than "community/community"). But that is very minor, and comes up about an order of magnitude less frequently... I'm comfortable with considering this issue resolved. Much appreciated!