Skip to content

Remove the hyphenate option in the templates. #593

@KarelJanVanHaute

Description

@KarelJanVanHaute

It turns out screenreaders are having trouble with the ­ character. So we are going to remove it in the default templates.
We are going to go for the default hyphens: auto CSS option. If in some cases we still need a more refined control over the hyphens, we can still use the hyphenate function. To make this more accessible, we can then add an aria-label.

<h2 aria-label="toegankelijkheidsonderzoek">
  toegankelijk&shy;heidsonder&shy;oek
</h2>

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions