Skip to content

Add hidden heading for "Key Points" #731

Description

@rgaiacs

Some callout blocks will automatically create a heading but the "Key Points" does not create a heading. I think that a automatically "Key Points" heading will improve the accessibility of the lessons, specially for readers with visual impairments.

Before After
Image Image

1st Solution

Instead of

<span class="callout-header">Key Points</span>

use

<h2 class="callout-header">Key Points</h2>

2nd Solution

Create the heading inside

<div class="callout-content">

and use CSS like

position: absolute;
width: 1px;
height: 1px;
overflow: hidden;

to hide it.

Metadata

Metadata

Assignees

Labels

accessibilityAn issue or feature regarding accessibility of the infrastructure or supporting softwarenice to haveA new feature that would be nice to have, but is not currently a priority

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions