Skip to content
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

[Outreachy Task Submission] Add Hidden Button Value Text for Close button in Post Details Modal #4906

Open
Chiemezuo opened this issue Mar 30, 2024 · 0 comments · May be fixed by ushahidi/platform-client-mzima#988
Labels

Comments

@Chiemezuo
Copy link

Intro

This is an Accessibility issue I found with the 'Close' button in the post-details modal. The Close button, despite being an SVG, has no value text.

Issue

The button for closing the Post details modal has no value text. This is a violation of WCAG Success Criterion 1.1.1 (Level A) - Non-text content. See

Description.

Success Criterion 1.1.1 (Level A) - Non-text content requires that all non-text content presented to users has a text alternative that serves the equivalent purpose, except for situations where the content is intended to be omitted by the author or is decorative in nature.

Impact

Accessibility software that can either convert text to visuals (for deaf people), and braille (for blind people) will not work. People who cannot understand the meaning of images/icons would struggle with this. Additionally, there would be no way to search for visual content in a text-based manner.

Fix

Add a value text to the button. I will raise a PR for this, shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant