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

Adjust footnote markup to accommodate multiple references #198

Merged
merged 1 commit into from
Nov 9, 2020

Conversation

danacotoran
Copy link
Contributor

This is a follow up on the original work done for footnote accessibility here #192

The Problem

The original PR had replaced the footnote arrow "back link" with the words "go to where this is referenced" like so:

Screenshot 2020-11-05 at 18 13 03

This was done with the aim of making those links clearer to both sighted and non-sighted users.

However as we were testing the original PR, we discovered an edge case where the solution that was implemented does not work.
The edge case appears when footnotes are referenced multiple times in the body of the publication, and therefore contain multiple numbered "back links", as can be seen here.

Multiple numbered back arrow links

Screenshot 2020-11-05 at 18 31 43

With the changes introduced in #192, a footnote that is referenced multiple times would look like this, which is obviously an issue:

Screenshot 2020-11-05 at 18 17 47

The Solution

Publishers should ideally not be using footnotes as they are not great on the web.
In the meanwhile, we're implementing a middle ground solution. This reverts the footnote "back link" to using the arrow, with the adjustment that the back link will have an aria-label of "go to where this is referenced" or "go to where this is referenced 2,3,4... i" when there's more than one reference. This should help AT users navigate this area, while keeping it fairly terse and understandable for sighted users.

https://trello.com/c/SJyttlVo

Revert to using arrow symbol for footnote link. Use aria-label to ensure
the meaning of the link remains clear for assistive tech users.
Copy link
Contributor

@injms injms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good solution 👍

@danacotoran danacotoran merged commit f1403c5 into master Nov 9, 2020
@danacotoran danacotoran deleted the footnotes-accesibility-fix branch November 9, 2020 10:32
@danacotoran danacotoran mentioned this pull request Nov 9, 2020
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

Successfully merging this pull request may close these issues.

2 participants