Skip to content

Commit

Permalink
Merge pull request #307 from volosied/MYFACES-4450-2.2
Browse files Browse the repository at this point in the history
2.2.x: MYFACES-4450: render tabindex for outputLabel; update test
  • Loading branch information
volosied committed Sep 6, 2022
2 parents ba552ec + be27784 commit 746af1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Expand Up @@ -72,6 +72,7 @@ public void testHtmlPropertyPassTru() throws Exception
HtmlRenderedAttr[] attrs = {
//_AccesskeyProperty
new HtmlRenderedAttr("accesskey"),
new HtmlRenderedAttr("tabindex"),
//_UniversalProperties
new HtmlRenderedAttr("dir"),
new HtmlRenderedAttr("lang"),
Expand Down
Expand Up @@ -531,11 +531,7 @@ public static void renderLabelPassthroughPropertiesWithoutEvents(ResponseWriter
long commonPropertiesMarked, UIComponent component)
throws IOException
{
if ((commonPropertiesMarked & CommonPropertyConstants.ACCESSKEY_PROP) != 0)
{
HtmlRendererUtils.renderHTMLStringAttribute(writer, component,
HTML.ACCESSKEY_ATTR, HTML.ACCESSKEY_ATTR);
}
renderAccesskeyTabindexProperties(writer, commonPropertiesMarked, component);
renderCommonPassthroughPropertiesWithoutEvents(writer, commonPropertiesMarked, component);
}

Expand Down

0 comments on commit 746af1c

Please sign in to comment.