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

[A11y] Broken skip link with flexible layout templates #5111

Open
herbdool opened this issue Jun 2, 2021 · 2 comments
Open

[A11y] Broken skip link with flexible layout templates #5111

herbdool opened this issue Jun 2, 2021 · 2 comments
Assignees

Comments

@herbdool
Copy link

herbdool commented Jun 2, 2021

Description of the bug

Flexible layout templates need the Page Title block to be added manually. However, the Page Title block won't include a #main-content anchor for the "skip link". I've noticed when being warned by https://wave.webaim.org/ that the skip link is broken on a home page using a flexible layout template.

Steps To Reproduce

To reproduce the behavior:

  1. Create a flexible layout template.
  2. Apply it to Default Layout.
  3. Add a Page Title block.

Actual behavior

There's no <a id="main-content"></a> included with the Page Title block.

Expected behavior

Either the flexible layout template should automatically include the anchor or it should be included with the Page Title block.

@herbdool herbdool changed the title [A11y] Broken skip link with flexible layout templates used with a standalone path [A11y] Broken skip link with flexible layout templates Jun 2, 2021
@aliya-rahmani
Copy link

@herbdool Can I work on this issue?

@herbdool
Copy link
Author

herbdool commented Jun 5, 2021

@aliya-rahmani sure!

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

2 participants