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

Use proper attributes for "previous" links #244

Merged
merged 2 commits into from Jun 6, 2020
Merged

Use proper attributes for "previous" links #244

merged 2 commits into from Jun 6, 2020

Conversation

marckohlbrugge
Copy link
Contributor

Changes made:

  • the rel attribute has been changed from next to prev
  • the aria-label attribute has been changed from next to previous
  • the associated tests have been updated

I chose not to abbreviate the aria label as it's intended for screen readers, etc. In fact, aria-labelledby might be a better alternative as we already provide a description within the anchor text itself. But I decided not to address that issue in this PR.

@ddnexus
Copy link
Owner

ddnexus commented Jun 4, 2020

Thank you!

Feel free to create a very welcomed PR also for the fix and improvement of the aria attributes.

@marckohlbrugge
Copy link
Contributor Author

Should we merge this PR first, and take care of the aria attributes in a second PR? I'd like to read up on aria first just to make sure I got it right.

@ddnexus
Copy link
Owner

ddnexus commented Jun 6, 2020

I'd like to read up on aria first just to make sure I got it right.

Sure. If you decide to improve it, please, link also some reference.

@ddnexus ddnexus changed the base branch from master to dev June 6, 2020 16:22
@ddnexus ddnexus merged commit 28913d6 into ddnexus:dev Jun 6, 2020
@marckohlbrugge marckohlbrugge deleted the mk-prev-link branch June 15, 2020 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants