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

Fix/empty links #181

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Fix/empty links #181

wants to merge 3 commits into from

Conversation

NuiS4ncE
Copy link

Please consider this pull request for an accessibility fix per WCAG 2.1 standard.

The fix addresses the empty link issue described here: #175 , but is implemented a bit differently.

inject_anchors_into_html now wraps the header's content inside the <a></a> tags. The header text is still seen on page and complies with accessibility requirements.

Tests were adjusted accordingly.
Some syntax changes were introduced to configuration files due to tests failing.

All comments and fixes to this PR are welcome.

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.

None yet

1 participant