It is possible to choose among a list of "Allowed Heading Elements" in the Design Dialog of components like Title Component (link to the documentation). Each of the heading elements have a Text (uppercase) and a Value (lowercase):
However, the datasource (AllowedHeadingElementsDataSourceServlet) that is responsible to provide the list of allowed heading elements renders the value (lowercase) in both the value and the text:
Expected Behaviour
Actual Behaviour
Reproduce Scenario
Steps to Reproduce
Using the design dialog, edit the policies of a Title component:
Open the dialog of the Title component and click on the Type / Size dropdown:
For each element, check that the Text is different than de value (uppercase/lowercase in this case).
Platform and Version
AEM - 6.5.12
AEM WCM Core Components - At least since 2.17.8
It is possible to choose among a list of "Allowed Heading Elements" in the Design Dialog of components like Title Component (link to the documentation). Each of the heading elements have a Text (uppercase) and a Value (lowercase):
However, the datasource (AllowedHeadingElementsDataSourceServlet) that is responsible to provide the list of allowed heading elements renders the value (lowercase) in both the value and the text:
Expected Behaviour
Actual Behaviour
Reproduce Scenario
Steps to Reproduce
Using the design dialog, edit the policies of a Title component:
Open the dialog of the Title component and click on the Type / Size dropdown:
For each element, check that the Text is different than de value (uppercase/lowercase in this case).
Platform and Version
AEM - 6.5.12 AEM WCM Core Components - At least since 2.17.8
Sample Code that illustrates the problem
https://github.com/adobe/aem-core-wcm-components/blob/main/bundles/core/src/main/java/com/adobe/cq/wcm/core/components/internal/servlets/AllowedHeadingElementsDataSourceServlet.java#L112