daisy / epub-accessibility-tests

EPUB Content containing accessibility tests for reading systems
10 stars 13 forks source link

lang attribute in metadata and nav doc #64

Open gregoriopellegrino opened 1 year ago

gregoriopellegrino commented 1 year ago

Proposal to create a test to ensure that the lang and xml:lang attributes present in metadata (content.opf) and in the navigation file (TOC) digested by the reading application are respected and correctly passed to the AT.

Ensuring that the lang and xml:lang attributes are present and correctly passed on to users is essential for accessibility. These attributes specify the language of the content, which is crucial for users who are visually impaired or have reading disabilities. Screen readers use the lang and xml:lang attributes to determine the language to use when reading the content to the user. If these attributes are missing or incorrect, it can result in a poor user experience for the user, making the content difficult or impossible to understand.

avneeshsingh commented 1 year ago

Screen readers use lang attribute of HTML file. I do not think that screen readers are effected by lang attribute of OPF file. It is mainly used by reading systems.

gregoriopellegrino commented 1 year ago

I agree, to better explain the issue I present two cases we've seen in some reading applications:

avneeshsingh commented 1 year ago

OK, this issue is mainly about reading system not exposing lang attributes in its widgets.

GeorgeKerscher commented 12 months ago

Adding this to the 2023 milestones.

ways2read commented 7 months ago

Moved to 2024 milestone in meeting 20/02/2024