mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8366278: Form control element <select> has no associated label
Reviewed-by: hannesw
This commit is contained in:
parent
4ea8979b93
commit
781f2b2f81
@ -108,6 +108,7 @@ public class SearchWriter extends HtmlDocletWriter {
|
||||
|
||||
var select = HtmlTree.of(HtmlTag.SELECT)
|
||||
.setId(HtmlId.of("search-modules"))
|
||||
.put(HtmlAttr.ARIA_LABEL, resources.getText("doclet.selectModule"))
|
||||
.add(HtmlTree.of(HtmlTag.OPTION)
|
||||
.put(HtmlAttr.VALUE, "")
|
||||
.add(contents.getContent("doclet.search.all_modules")));
|
||||
|
||||
@ -787,3 +787,6 @@ doclet.NoFrames_specified=\
|
||||
doclet.footer_specified=\
|
||||
The -footer option is no longer supported and will be ignored.\n\
|
||||
It may be removed in a future release.
|
||||
|
||||
doclet.selectModule=\
|
||||
Select the module to search in.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user