[wp-trac] [WordPress Trac] #56722: Using SkipLink on my site
WordPress Trac
noreply at wordpress.org
Mon Oct 3 18:15:28 UTC 2022
#56722: Using SkipLink on my site
---------------------------+-----------------------------
Reporter: jthomas2 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 6.0.2
Severity: major | Keywords:
Focuses: accessibility |
---------------------------+-----------------------------
I'm trying to make my site 508 accessible by adding skiplinks to go to
main content. I've created a child them and was trying to use the code
WordPress Community provided:
{{{
<body>
<header>
<a class=”screen-reader-text skip-link” href="#content">Skip to
content</a>
<h1>Site title</h1>
</header>
<nav>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/accessibility">Accessibility</a></li>
<li><a href="/blog">Blog</a></li>
</ul>
</nav>
<main id="content">
<!-- Content of the page -->
</main>
</body>
}}}
I'm getting a syntax error"syntax error, unexpected token "<", expecting
end of file". Can I get help to make this work? Really don't want to have
to pay for a plugin.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56722>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list