"what's the difference between and ?", there really isn't a great definition. Use or instead to emphasize content.Īnd before you ask. Underlining for emphasis can be especially confusing for those with cogitative or low-vision issues, and ultimately it cannot contain any meaningful information for the user. Often when a user sees underlined text, they expect it to be a link. The element for underlining has no semantic equivalent and generally should be avoided. It is pretty common to use as the element when using icons (such as ), so this policy doesn't look for any or that has a class or other attribute. While that meaning is not read to the user by default, they can have that information presented to them. In contrast, and are visually the same as and, emphasizing parts of the text, but, unlike and carry meaning behind them. This is a quick policy to look for or elements. Policy #2: A11y: Non-semantic HTML markup Without the list, it will just become part of the text if it's read at all (not all bullets will be). Using a correct list element informs a screen reader user not only of the list but also of how many items are in the list and the user's position. The content should have an unordered or ordered list. For example, code like this may appear as a list but programmatically is not:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |