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

BRs representing paragraphs considered harmful #84

Open
murata2makoto opened this issue Jun 25, 2023 · 1 comment
Open

BRs representing paragraphs considered harmful #84

murata2makoto opened this issue Jun 25, 2023 · 1 comment
Labels
property-accessibilityFeature Issue is related to the values of the accessibilityFeature property type-enhancement New feature or request

Comments

@murata2makoto
Copy link
Contributor

murata2makoto commented Jun 25, 2023

At least in Japan, there are quite a few EPUB publications that contain BR tags (not P tags) for representing paragraphs (probably with a leading ideographic space character at the beginning of each "paragraph"). But screen readers do not recognize such "paragraphs". Users complain to developers of screen readers.

Is this a common problem? We are wondering if this issue can be addressed by a new value of the accessibilityFeature property or ACE.

@mattgarrish
Copy link
Member

I know it was a problem early on in the transition to ebooks, but I haven't heard complaints about it in a long time. It wasn't just a problem for paragraphs, either, but was used for lists and other structures, too.

I would expect it to be considered a failure of WCAG success criterion 1.3.1. Using br tags to mimic paragraphs fails the info and relationships requirement as the "paragraphs" only exist visually when created with br tags.

It's hard to reliably check for automatically, however, outside of maybe looking for br tags as direct children of the body tag. You would expect br tags in line-based content like poetry, so too strict checking could lead to false positives.

@mattgarrish mattgarrish added property-accessibilityFeature Issue is related to the values of the accessibilityFeature property type-enhancement New feature or request labels Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
property-accessibilityFeature Issue is related to the values of the accessibilityFeature property type-enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants