You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Joe Witt (Jira)" <ji...@apache.org> on 2022/04/04 16:41:00 UTC

[jira] [Updated] (NIFI-9816) Ensure "lang" attribute is set in tags

     [ https://issues.apache.org/jira/browse/NIFI-9816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Witt updated NIFI-9816:
---------------------------
    Fix Version/s: 1.16.1

> Ensure "lang" attribute is set in <html> tags
> ---------------------------------------------
>
>                 Key: NIFI-9816
>                 URL: https://issues.apache.org/jira/browse/NIFI-9816
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core UI, NiFi Registry
>    Affects Versions: 1.15.3
>            Reporter: Jonathan Conti-Vock
>            Assignee: Jonathan Conti-Vock
>            Priority: Minor
>             Fix For: 1.17.0, 1.16.1
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Accessibility standards require every <html> tag to have a "lang" attribute where the value represents the primary language of the document. From the [WCAG 2.1 requirement's description|[https://www.w3.org/WAI/WCAG21/Techniques/html/H57]], identifying the language of the document is important for a number of reasons:
>  * It allows braille translation software to substitute control codes for accented characters, and insert control codes necessary to prevent erroneous creation of Grade 2 braille contractions.
>  * Speech synthesizers that support multiple languages will be able to orient and adapt to the pronunciation and syntax that are specific to the language of the page, speaking the text in the appropriate accent with proper pronunciation.
>  * Marking the language can benefit future developments in technology, for example users who are unable to translate between languages themselves will be able to use machines to translate unfamiliar languages.
>  * Marking the language can also assist user agents in providing definitions using a dictionary.
> While reviewing the backlog for existing tickets related to localization, I found there's already been some significant (though stale) work done to implement localization/multilingualization (NIFI-4785). Given that work, I would suggest compatible JSTL changes be made to the existing JSPs and otherwise hardcode lang="en" in existing HTML pages until further localization improvements are made.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)