Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add context for page numbers for screenreaders #4247

Open
StephDriver opened this issue Jun 4, 2024 · 2 comments
Open

Add context for page numbers for screenreaders #4247

StephDriver opened this issue Jun 4, 2024 · 2 comments
Labels
a11y Issues that relate to acessibility priority-urgent size XS Extra small VPAT Issue prioritised for VPAT improvements.

Comments

@StephDriver
Copy link
Contributor

Page numbers need context for screen readers. The following examples were identified in #4194

  • Sample 4, item 41. pages: 1-13 is read as "pages one thirteen" because the - is considered invisible punctuation as it could in say 'copy-editing` - this should read as "Pages one to thirteen" or similar. It should be described to be read that way.
  • Sample 5.1, item 16. the page numbers at the end of the article details, '1-9' are read as 'one nine' because the screenreader doesn't know that punctuation is important in this place - suggest marking up both to describe these as pages, and to indicate it is a range, e.g. 'pages one to nine' - but need to be careful with implementing this as I believe the UK is 'one to nine' but the US preference may be for 'one through nine'.
@StephDriver StephDriver added the a11y Issues that relate to acessibility label Jun 4, 2024
@StephDriver StephDriver moved this to Sent to Dev in Accessibility Jun 4, 2024
@StephDriver StephDriver added the VPAT Issue prioritised for VPAT improvements. label Jun 27, 2024
@StephDriver
Copy link
Contributor Author

To clarify: this issue is about use of page numbers within django templates.

When page numbers may also be used within the text of an article, but this would be either in paragraph text, or within a formatted reference, such that the context already shows it is a page number. The issue here is about a lack of context for the page numbers. This would be when they are used in the django template only.

@StephDriver
Copy link
Contributor Author

This could be resolved with ARIA, but in some cases it may be more accessible to provide context through text available to everyone (e.g. Page 1-11 rather than 1-11 with some ARIA markup) . Please consider each occurrence individually to determine whether the numbers are given enough visual context, as well as whether a screenreader user receives their context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Issues that relate to acessibility priority-urgent size XS Extra small VPAT Issue prioritised for VPAT improvements.
Projects
Status: Sent to Dev
Development

No branches or pull requests

2 participants