[
https://issues.apache.org/jira/browse/NIFI-9816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17511988#comment-17511988
]
Jonathan Conti-Vock commented on NIFI-9816:
-------------------------------------------
As decided in the PR review, the dynamic implementation has been replaced with
a hard-coded implementation as no localization is currently supported. Changes
were also found to be necessary in the NiFi Registry component.
> 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
> Time Spent: 0.5h
> 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)