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

Distinguish buttons and links #17

Open
jon-loubert opened this issue Sep 23, 2021 · 0 comments
Open

Distinguish buttons and links #17

jon-loubert opened this issue Sep 23, 2021 · 0 comments

Comments

@jon-loubert
Copy link
Member

Using <a> for links and using <button> for interactive elements that do something on the current page will make it more clear to screen-reader users what will happen when they interact with something.

Currently, there's a Nunjucks macro called "button" (which uses an <a> tag), so maybe creating a second "link" macro would be a good way to do this.

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

No branches or pull requests

1 participant