Add 'lang' attribute option

Created on 23 December 2024, 16 days ago

Problem/Motivation

When an English page declared by (<html lang="en">) has links in Spanish text (lets just use Spanish as the example), a screen reader will read the link text in an English accent.

Proposed resolution

With accessibility becoming ever more important, it would be nice to have the 'lang' attribute available as an input text box or select list where we can add language options. This way a screen reader will use a Spanish accent to read link text that is in Spanish.

The link with the lang attribute would look like this and this would read better via a screen reader.

<a lang="es" href="/informacion-en-espanol">Información en español</a>

Feature request
Status

Active

Version

2.2

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024