Block category: Formatting

The formatting category includes the following blocks:

The code block starts with
<!-- wp:code -->
<?php echo 'Hello World'; ?>

The classic block can have almost anything in it.


a heading
The custom HTML block lets you put HTML that isn’t configured like blocks in it. (this div has a width of 45%)
The preformatted block.

The Road Not Taken

Robert Frost
Two roads diverged in a yellow wood,
And sorry I could not travel both (\_/)
And be one traveler, long I stood (='.'=)
And looked down one as far as I could (")_(")
To where it bent in the undergrowth;

Then took the other, as just as fair,
And having perhaps the better claim, |\_/|
Because it was grassy and wanted wear; / @ @ \
Though as for that the passing there ( > º < )
Had worn them really about the same, `>>x<<´
/ O \
And both that morning equally lay
In leaves no step had trodden black.
Oh, I kept the first for another day!
Yet knowing how way leads on to way,
I doubted if I should ever come back.
I shall be telling this with a sigh
Somewhere ages and ages hence:
Two roads diverged in a wood, and I—
I took the one less traveled by,
And that has made all the difference.



and here's a line of some really, really, really, really long text, just to see how it is handled and to find out how it overflows;

The pull quote can be aligned or wide or neither.

Theme Reviewer
The table blockThis is the default style.
The cell next to this is empty.
Cell #5
Cell #6
This is the striped style.This row should have a background color.
The cell next to this is empty.

This table has fixed width table cells.

Make sure that the text wraps correctly.

The Verse block

A block for haiku?
Why not?
Blocks for all the things!
Read More

Keyboard navigation

There are many different ways to use the web besides a mouse and a pair of eyes. Users navigate for example with a keyboard only or with their voice.

All the functionality, including menus, links and forms should work using a keyboard only. This is essential for all assistive technology to work properly. The only way to test this, at the moment, is manually. The best time to test this is during development.

How to keyboard test:

Tab through your pages, links and forms to do the following tests:

  • Confirm that all links can be reached and activated via keyboard, including any in dropdown submenus.
  • Confirm that all links get a visible focus indicator (e.g., a border highlight).
  • Confirm that all visually hidden links (e.g. skip links) become visible when in focus.
  • Confirm that all form input fields and buttons can be accessed and used via keyboard.
  • Confirm that all interactions, buttons, and other controls can be triggered via keyboard — any action you can complete with a mouse must also be performable via keyboard.
  • Confirm that focus doesn’t move in unexpected ways around the page.
  • Confirm that using shift+tab to move backwards works as well.

Resources

Read More
  • 1
  • 2