Skip to content

Commit

Permalink
Remove deprecated link element. Add aria label to remove field buttons.
Browse files Browse the repository at this point in the history
Signed-off-by: sugarylump <[email protected]>
  • Loading branch information
SugaryLump committed Aug 2, 2024
1 parent ed9491c commit 35e3bf1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ public void onChange(ChangeEvent event) {
inputPanel.addStyleName("search-field-input-panel");
inputPanel.addStyleName("full_width");
remove.addStyleName("search-field-remove");
remove.getElement().setAttribute("aria-label", "close");
fieldLabel.addStyleName("search-field-label");
fieldBox.addStyleName("form-listbox");
searchAdvancedFields.addStyleName("form-listbox");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ public static ContentPanel getInstance() {
}

public void init() {
// Set ID
getElement().setId("content");
// Login
resolvers.add(Login.RESOLVER);
// Home
Expand Down
1 change: 0 additions & 1 deletion roda-ui/roda-wui/src/main/webapp/Main.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,5 @@
<script src='https://www.google-analytics.com/analytics.js' type="text/javascript"></script>
<!-- / Google Analytics -->

<a name="content"></a>
</body>
</html>

0 comments on commit 35e3bf1

Please sign in to comment.