Accessibility Support
FacetWP includes built-in accessibility (a11y) support, but it’s disabled by default.
To enable it, browse to Settings > FacetWP > Settings
and look for the “Load a11y support” setting.
Translate the Pager facet’s aria labels
When the “Load a11y support” setting is enabled, the “page numbers” Pager facet type will have three aria-label
attributes in its code: “Go to page #”, “Go to next page” and “Go to previous page”.
These aria labels can be translated with the internationalization function __()
, or with the WordPress gettext
filter, as demonstrated in this code example .