Heading

Headings communicate the organization of the content on the page.

Headings and accessibility

One of the most important things you can do when creating your content with accessible web standards in mind is to ensure that the resulting document outline maintains a natural order. This means that in general, your headings should follow a natural progression from h1 for the most important content on the page down to h6 for detail-oriented content of lesser importance.

The details pop up in the top toolbar can provide valuable information pertaining to the outline of your document. It provides an alert if you have:

  • Skipped a heading level accidentally (or for visual purposes)
  • Placed a higher-order heading inside of a lower order.
The document outline panel within the block editor for WP. Pictured with an outline which includes a couple of structural errors.

Highlight styles

You can apply a highlight color to any h1 through h4 tag using the block level toolbar.

  1. Highlight the words within the header that you want to highlight.
  2. Click the dropdown arrow in the block toolbar next to the link icon.
  3. Within that dropdown, select the highlight style you’d like to apply.

To cancel an applied highlight, use the same procedure above and deselect the currently applied highlight from the list above. Be sure to deselect or “clear” the current highlight color before applying a new highlight color to the same text.

Colors

The heading block has two basic color options available: ASU White and ASU Gray 7 (Black).

The color picker also contains ASU Gold as an option for text color. Whole sections of gold text are not permitted within the brand standard and also violates accessibility contrast standards when used incorrectly. Please use caution with this option.

The gold text option is only included to allow a user to turn a link from the default maroon color to ASU Gold when it is on a black background. The option to transform a whole block of text to ASU Gold will be removed from the editor with future improvements to WordPress typography defaults.

Use the color picker in the right sidebar to transform the color of the whole paragraph block into the desired color.

The List View menu can be helpful to select a block of text that has accidentally been transformed into a black-on-black or white-on-white text. Locate and click on the correct block using that tool and then transform the block to the correct color.

Reference

WCAG: https://www.w3.org/WAI/tutorials/page-structure/headings/

https://wordpress.org/support/article/heading-block