Follow up to: https://www.drupal.org/project/drupal/issues/2952488
Problem/Motivation
The "current page" element in the pager is announced twice to users.
Steps to reproduce
Navigate to the current page element in a pager using NVDA or another screen reader active.
Proposed resolution
From the previous issue:
Remove the visually-hidden phrase "current page" from inside the current-page link. Just usePage: like all the other numbered links.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot from 2024-04-30 13-41-46.png | 9.29 KB | neclimdul |
Issue fork drupal-3444512
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 #3
neclimdulThese changes where just accidentally dropped from a re-roll. Patch to re-introduce them.
Comment #4
smustgrave commentedHave a test failure so maybe fixing that will count as test coverage.
But will need a change record for contrib themes to update their templates.
Comment #5
neclimdulTest should be fixed.
Comment #6
smustgrave commentedCan we get a change record also please.
Comment #7
neclimdulcreated
Comment #8
smustgrave commentedThanks! As mentioned I feel the test change counts as coverage.
Change looks good.
Comment #9
alexpott#3384679: aria-current is giving an invalid value reverted the changes from #2952488: Use aria-current=page in pagination links. so this issue might no longer true.
Comment #10
alexpottOh I see - it just got the value wrong. This is still good.
Comment #11
alexpottRe change record - it wasn't this change that necessitated the contrib / custom themes to change it was #2952488: Use aria-current=page in pagination links.
Committed 3a54db4 and pushed to 11.x. Thanks!
Committed 93d5421 and pushed to 10.4.x. Thanks!
Committed 45cb9fe and pushed to 10.3.x. Thanks!