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

Links and buttons in summary tables require extra hidden text #557

Open
7 of 18 tasks
lfdebrux opened this issue Sep 10, 2019 · 2 comments
Open
7 of 18 tasks

Links and buttons in summary tables require extra hidden text #557

lfdebrux opened this issue Sep 10, 2019 · 2 comments

Comments

@lfdebrux
Copy link
Contributor

lfdebrux commented Sep 10, 2019

When we have a summary table with a number of buttons/links we tend to repeat the link and expect a user to be able to associate the button with the text of the row.

However, for a user using a screenreader, these button/link names are ambiguous and unclear.

For screenreaders to be able to give users context on what a link or button actually does we need to include hidden text to expand on what the button does.

Checklist

@lfdebrux
Copy link
Contributor Author

I've added a checklist for all the places where we use the summary table; I've ticked off the ones which don't seem to have a button or a link.

@katstevens
Copy link
Contributor

We have an existing pattern for this that probably got missed when building the admin tools, a hidden_text attribute on summary.edit_link where extra context can be added for screen readers: https://github.com/alphagov/digitalmarketplace-briefs-frontend/blob/master/app/templates/buyers/section_summary.html#L75

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

No branches or pull requests

3 participants