While testing pager, my site using stable theme (pager.html.twig) file which is having ellipsis and giving violation for role="presentation" attributes.
Pager template fails accessibility tests for Ellipsis
To solve this problem, we need to fix the following:
List element has direct children that are not allowed: [role=presentation] like below example
<li class="pager__item pager__item--ellipsis" role="presentation">…</li>Steps to reproduce
Create a view that uses a full pager, and a sufficient amount of content to create many pages for that view.
Proposed resolution
instead of using role="presentation" we can use aria-label="additional pages"attribute
| Comment | File | Size | Author |
|---|
Issue fork stable-3579429
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
anmol singh commentedComment #3
anmol singh commentedComment #4
anmol singh commentedComment #5
anmol singh commentedComment #6
anmol singh commentedComment #7
anmol singh commented