Widget headers are a problem for block widgets and in general
-
The sample page has a sidebar whose contents are as follows:
- A “Widget block” containing: the title “Recent posts” (not a separate block, but an attribute of the widget block), and a “Latest Posts” widget
- A “latest posts” widget which is not in a widget block.
- A Header block (h2) – Subscribe link.
- A Categories widget whose title property has been set to “Categories”.
Here are the problems I see with this:
- The heading level used for widgets is not consistent. The widget group title renders as h2, whereas the categories widget title is h3. It should be consistently h2 — not h3 — to comply with accessibility requirements as regards document structure (“don’t skip levels”).
- The styling for h2 in a sidebar widget is too large a font and too much spacing above.
- The styling of the links in the two Latest Posts widgets is inconsistent.
- The spacing below the first latest posts list, and above and below the second list, is excessive.
- This topic was modified 2 years, 10 months ago by .
- This topic was modified 2 years, 10 months ago by .
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Widget headers are a problem for block widgets and in general’ is closed to new replies.