1 Helpful Fundamentals
Resources
- WebAIM’s Web Accessibility Principles
- MDN Web Docs is a useful reference for HTML tags. For each, there is usually an “Accessibility” section discussing the accessibility-related issues/requirements of the tag
Pressbooks-specific Behavior
Pressbooks can occasionally automatically add HTML tags or remove HTML tags it doesn’t “like” (so to speak). Random <span> tags with orphan and font-size properties will occasionally be inserted into the middle of paragraphs, with no visual effect. If inline CSS (or plain HTML) is written incorrectly, it will commonly remove the incorrect markup (“code”) from the text editor entirely.
Importantly, the Custom Styles tab does not do this with incorrectly written external CSS. If an entire page suddenly has absolutely no CSS styling, there is probably a missing closing curly bracket or semi-colon in the Custom Styles external CSS.
Mary’s To Do
(This is really specific CSS stuff & lower priority, but because it is specific I would like to make documentation on it to focus on only the relevant parts of these that we use/can use with Pressbooks for future employees).
- Classes
- Common properties
- Selectors
- Combinators
- Pseudo-Classes
- Pseudo-Elements
- At-Rules
- Functions