Skip to content

Commit

Permalink
Add aria-hidden to query pagination arrows (#42583)
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinan committed Jul 22, 2022
1 parent 2280462 commit dceefb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/query-pagination-next/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export default function QueryPaginationNextEdit( {
{ displayArrow && (
<span
className={ `wp-block-query-pagination-next-arrow is-arrow-${ paginationArrow }` }
aria-hidden={ true }
>
{ displayArrow }
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default function QueryPaginationPreviousEdit( {
{ displayArrow && (
<span
className={ `wp-block-query-pagination-previous-arrow is-arrow-${ paginationArrow }` }
aria-hidden={ true }
>
{ displayArrow }
</span>
Expand Down

0 comments on commit dceefb1

Please sign in to comment.