- Wrapper for format and number pipes, for better maintainability
- Use projections instead of working with *ngIf in template or with methods
- Use a screenrreader as validation and in the development process
- Good accessibility is also positiv for a good HTML dom and SEO
- Respect contrast and visualize focus
- Use
aria-label
i.e. to describe buttons, icon buttons, links, radios etc., sometimes a title is not enough - Use
ul
/li
list elements for navigations, then the screenreader reads the number of choices - Use icon SVG with alt or title text attributes
- Use
filedset
legend
if you have titles in forms etc to be read during navigation through the form, otherwise use labels for the input elements - Do not fade out warnings or errors to fast (better no fading out, make it dismissable) to allow slower people to read it
- If you have graphs may set a
aria-hidden
attribute and explain what they would see in avisually: hidden
text somewhere.