Skip to content

aria-live for search results #847

@therobrob

Description

@therobrob

In #837 we updated the pagefind-version. There is an idea to optimize accessibility of the search:

For now, screenreader users don’t get an information about the search results. We could announce, that the search results changed, but not what exactly changed in the search results.

An similar idea was declined besides pagefind itself: Pagefind/pagefind#162 (comment)
I understood the pagefind-MR to mean that aria live should announce all changed results.

concept:
<div class="u-sr-only" aria-live="polite">The search results were updated</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    technicalTechnical issues, e.g. related to Hugo, HTML, CSS, deployment, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions