You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: