Skip to content

Commit

Permalink
MDL-67970 core: remove unnecessary roles
Browse files Browse the repository at this point in the history
- The navigation role is unnecessary for element nav
- The textbox role is unnecessary for element textarea
  • Loading branch information
rezaies committed Mar 17, 2020
1 parent 8b33494 commit 1cc8177
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/templates/navbar.mustache
Expand Up @@ -63,7 +63,7 @@
]
}
}}
<nav role="navigation" aria-label="{{#str}}breadcrumb, access{{/str}}">
<nav aria-label="{{#str}}breadcrumb, access{{/str}}">
<ol class="breadcrumb">
{{#get_items}}
{{#has_action}}
Expand Down
Expand Up @@ -44,7 +44,6 @@
data-auto-rows
data-min-rows="3"
data-max-rows="5"
role="textbox"
aria-label="{{#str}} writeamessage, core_message {{/str}}"
placeholder="{{#str}} writeamessage, core_message {{/str}}"
style="resize: none"
Expand Down

0 comments on commit 1cc8177

Please sign in to comment.