-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
Description
Issue Description
Elements with a "region" role must have a label that describes the purpose of the region. This information helps people using assistive technologies to find and navigate the region.
The citation component ("How to cite") does not have any description to help assistive technology users to understand what is being shown or updated in the citation box.
How to reproduce / Current behavior
- Access an article landing page of a Journal using Immersion theme: https://ojs34.demo.publicknowledgeproject.org/index.php/immersion/article/view/919
- Inspect the "citation box" under "How to cite"
- Notice that
id="citationOutput"
region has aaria-live
attribute but is missing aaria-label
oraria-labelledby
.
What application are you using?
OJS version 3.4
Stack
- Device: Laptop
- OS: MacOS Sequoia
- Browser: Chrome
Testing method
- Method: Manual, Browser Plugin
Action
To fix it, add an id
to the Heading "How to Cite" and use this id
as reference with aria-labelledby
on the component.
E.g.:
<h2 id="howtocite">How to Cite</h2>
...
<div id="citationOutput" role="region" aria-live="polite" aria-labelledby="howtocite">
...
Additional information
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status