Skip to content

Commit

Permalink
MYFACES-4450: render tabindex for outputLabel; update test
Browse files Browse the repository at this point in the history
  • Loading branch information
volosied committed Sep 6, 2022
1 parent fddd85d commit 4385a67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 4385a67

Please sign in to comment.