Skip to content

Commit

Permalink
Merge pull request #306 from volosied/MYFACES-4450-40
Browse files Browse the repository at this point in the history
4.0.x: MYFACES-4450: render tabindex for outputLabel; update test
  • Loading branch information
volosied committed Sep 6, 2022
2 parents fddd85d + 4385a67 commit 4ab0941
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Expand Up @@ -671,11 +671,7 @@ public static void renderLabelPassthroughPropertiesWithoutEvents(ResponseWriter
return;
}

if ((commonPropertiesMarked & CommonHtmlAttributes.ACCESSKEY) != 0)
{
HtmlRendererUtils.renderHTMLStringAttribute(writer, component,
HTML.ACCESSKEY_ATTR, HTML.ACCESSKEY_ATTR);
}
renderAccesskeyTabindexProperties(writer, commonPropertiesMarked, component);
renderCommonPassthroughPropertiesWithoutEvents(writer, commonPropertiesMarked, component);
}

Expand Down
Expand Up @@ -93,6 +93,7 @@ public void testHtmlPropertyPassTru() throws Exception
HtmlRenderedAttr[] attrs = {
//_AccesskeyProperty
new HtmlRenderedAttr("accesskey"),
new HtmlRenderedAttr("tabindex"),
//_UniversalProperties
new HtmlRenderedAttr("dir"),
new HtmlRenderedAttr("lang"),
Expand Down

0 comments on commit 4ab0941

Please sign in to comment.