Sub topic 12
Using real markup instead of visual tricks
This chapter assumes you can write basic Markdown or use word-processor styles, and that you know why headings, lists, and tables help readers skim. Here you will learn why the way you create that structure matters as much as the structure itself.
What a visual trick looks like
A visual trick makes text look like structure without declaring it. Common examples:
- Bold text on its own line standing in for a heading.
- A hyphen or an asterisk typed by hand at the start of a line, followed by spaces, to fake a bullet.
- Numbers typed by hand ("1.", "2.") in a word processor that is not using its list feature.
- Columns lined up with spaces or tabs to fake a table.
- Blank lines added to create space between sections.
On screen, these can look identical to the real thing. The difference is that the software cannot tell what you meant.
What real markup gives you
Real markup labels each piece of content with its role: this is a level-2 heading, this is a list item, this cell is a column header. Tools read those labels to do work for you and your readers:
- A table of contents is generated from headings.
- Screen readers announce "heading level 2" and let users jump between headings.
- Browsers and editors let readers search by section or collapse sections.
- Numbered lists renumber themselves when you insert a step.
- Styles change in one place, so every heading updates at once.
Comparing the two approaches
This example shows the same content written both ways in Markdown.
Visual trick:
**Release steps**
- 1. Create the release tag.
- 2. Run the deployment pipeline.
Real markup:
## Release steps
1. Create the release tag.
2. Run the deployment pipeline.The first version renders as bold text followed by bulleted items that each contain a typed number. A screen reader announces no heading and reads a bullet and a number for each item. The second version produces a true heading and a true ordered list, and the numbers adjust if you add a step.
Applying this in different tools
The principle is the same in every tool, but the controls differ:
| Tool | Heading | List | Table |
|---|---|---|---|
| Markdown | Lines starting with `#` | Lines starting with `-` or `1.` | Pipe syntax with a separator row |
| Word processor | Heading styles (Heading 1, 2, 3) | Bullets and Numbering buttons | Insert Table command |
| Wiki or CMS | Heading dropdown in the editor | List buttons in the toolbar | Table insert tool |
Choose heading levels by the outline you want, not by how large the text looks. If level 3 looks too small, change the style definition, not the level.
Common errors
- Skipping levels. Jumping from a level-2 heading to a level-4 heading to get smaller text breaks the outline.
- Using headings for emphasis. A heading on a single sentence that is not a section label pollutes the outline.
- Copying from PDF or email. Pasted text often carries typed bullets and hard line breaks, so reapply real list and heading styles after pasting.
- Empty rows and columns. Blank table cells used for spacing look like missing data to assistive tools.
Exercise
Exercise
A colleague writes each section title in bold capital letters on its own line and types "•" before each list item. The page looks fine. Name two problems this causes and say how to fix each.
Show answer
First, the bold titles are not headings, so there is no generated table of contents and screen reader users cannot jump between sections. Fix this by applying real heading styles (for example, level 2). Second, the typed "•" characters are plain text, so a screen reader does not announce a list and the indentation breaks when text wraps. Fix this by using the editor's real bulleted list feature.