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

Braille Grade class on span or div or both #142

Open
GeorgeKerscher opened this issue Jan 4, 2024 · 1 comment
Open

Braille Grade class on span or div or both #142

GeorgeKerscher opened this issue Jan 4, 2024 · 1 comment

Comments

@GeorgeKerscher
Copy link
Collaborator

Braille Grade Indicator

In the best practices section 2.2, it currently reads:
Element(s):
span
Reserved class values:
grade-0, grade-1, grade-2
Note that terms for braille grade vary throughout the world and that grade-related class values do not directly correlate to how a local region may understand the terms. Hence, in a region where uncontracted braille is called Grade 1, grade-0 is preferred for the class name so that these terms may be better understood internationally. Basically, one should use the least value class for the least contracted grade of braille and move up in value from there.

Additionally, braille grade should only be specified when it changes within the document. Otherwise, metadata is sufficient

The problem

The Issue is, should div also be an element on which this might occur? Let us say you have a list of spelling words. I could see the div wrapping the list and the grade class would be on this. If it is only allowed on a span, it would be constantly repeated. The span element is for inline content and the div is for block. This means you could wrap several paragraphs or other block level elements in a div.

The whole issue of what the class values should be is another question. Let us just focus on which elements for this grade change should be allowed on.

@wfree-aph
Copy link
Collaborator

I think you are correct that div should also be allowed in this instance. It'd be messy to wrap multiple items in multiple spans when you could just wrap it all in a div and accomplish the same task. If there are no objections, I will update the document with this change, make a pull request, and then this issue can be closed as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants