Skip to content
Snippets Groups Projects
Commit e474def1 authored by Georg Ringer's avatar Georg Ringer
Browse files

[BUGFIX] Add lang attribute to html tag in Backend

The current language of the TYPO3 Backend user is now added as
attribute 'lang' to the html tag of any module using the ModuleTemplate.

This improves accessibility, as it is used by screen readers that switch
language profiles to provide the correct accent and pronunciation.

In addition, DocumentTemplate behaves the same by adding
proper htmlspecialchars()

Resolves: #89559
Releases: master
Change-Id: I42132e24475b4aa7decbf5173e3717297eda897e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62169


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarMichael Telgkamp <michael.telgkamp@mindscreen.de>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarMichael Telgkamp <michael.telgkamp@mindscreen.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent bef44dd5
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment