Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #54260, comment 2


Ignore:
Timestamp:
05/23/2023 06:26:46 PM (18 months ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54260, comment 2

    initial v1  
    11Hi, and thanks for the report!
    22
    3 In ticket:24709, the `before_page_number` and `after_page_number` arguments were created so themes could add non-visual text to each of the page links.
     3In ticket:24709, the `before_page_number` and `after_page_number` arguments were created so themes could add (non-visual) text to each of the page links.
    44
    5 [https://github.com/WordPress/wordpress-develop/blob/d428a5b632f5fd927828f2b4294a16f884e2c8b8/src/wp-content/themes/twentytwentyone/inc/template-tags.php#L225-L256 Twenty Twenty-One example]
     5The [https://github.com/WordPress/wordpress-develop/blob/d428a5b632f5fd927828f2b4294a16f884e2c8b8/src/wp-content/themes/twentytwentyone/inc/template-tags.php#L225-L256 Twenty Twenty-One example] has **visible** text.
    66
    77If ARIA labels are included automatically, they should not override the context provided in these two arguments. (It might be worth using the label attributes as a fallback.)