Remove accessibility note about Pagefind
This commit is contained in:
parent
48153ebe6a
commit
ac61dcbcb7
@ -7,9 +7,6 @@ eleventyComputed:
|
||||
<script src="/pagefind/pagefind-ui.js"></script>
|
||||
|
||||
<p>Looking for something on my website? If you have JavaScript enabled, you can use the search field below, which is powered by the static search library <a href="https://pagefind.app/">Pagefind</a>. Your search query will not be recorded anywhere.</p>
|
||||
<h2>Accessibility Note</h2>
|
||||
<p>Unfortunately, it is a <a href="https://github.com/CloudCannon/pagefind/issues/158">known issue</a> that Pagefind's search field is not properly labelled, which affects screen readers' ability to understand the search field.</p>
|
||||
<h2>Search This Website</h2>
|
||||
<div id="search"></div>
|
||||
<script>
|
||||
window.addEventListener('DOMContentLoaded', (event) => {
|
||||
@ -18,6 +15,7 @@ eleventyComputed:
|
||||
</script>
|
||||
|
||||
<noscript>
|
||||
<h2>You have disabled JavaScript</h2>
|
||||
<p>Looks like you have JavaScript disabled. This search field requires JavaScript to function.</p>
|
||||
</noscript>
|
||||
|
||||
|
@ -38,10 +38,6 @@ I use the following tools to test my site for accessibility:
|
||||
|
||||
In addition, I test the accessibility of my website manually by navigating with keyboard alone.
|
||||
|
||||
## Known Issues
|
||||
|
||||
The website's [Search page](/search/) includes a search field that is powered by [Pagefind](https://pagefind.app/), which has a [known issue](https://github.com/CloudCannon/pagefind/issues/158) of its search field input not being properly labelled, which affects screen readers' ability to understand the search field.
|
||||
|
||||
## Feedback
|
||||
|
||||
Feedback from disabled and neurodivergent people are welcome. You can [contact me via email](mailto:{{ sitemeta.siteAuthor.emailEncoded | safe }}) for feedbacks and suggestions for improving the accessibility of this site.
|
||||
|
Loading…
x
Reference in New Issue
Block a user