diff options
| author | luccioman <luccioman@users.noreply.github.com> | 2016-09-29 13:42:07 +0200 |
|---|---|---|
| committer | luccioman <luccioman@users.noreply.github.com> | 2016-09-29 13:42:07 +0200 |
| commit | abe489a0b52b179e04853f9b7da4d5efacfee6c0 (patch) | |
| tree | a196306f261103e7b202863211c356b4624ecda6 /htroot/env | |
| parent | cca4186044fcb34ffcccef4e67aba3a00b59fd30 (diff) | |
Removed unnecessary ARIA "form" role on native HTML form elements.
This fixes warnings reported by W3C Nu Html Checker
(https://validator.w3.org/nu/).
Diffstat (limited to 'htroot/env')
| -rw-r--r-- | htroot/env/templates/header.template | 6 | ||||
| -rw-r--r-- | htroot/env/templates/simpleheader.template | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/htroot/env/templates/header.template b/htroot/env/templates/header.template index bce6df579..333b63165 100644 --- a/htroot/env/templates/header.template +++ b/htroot/env/templates/header.template @@ -23,14 +23,14 @@ <div class="navbar-collapse collapse"> <ul class="nav navbar-nav navbar-right"> <li id="header_restart"> - <form action="/Steering.html" method="get" role="form"> + <form action="/Steering.html" method="get"> <input type="hidden" name="restart" value="" /> <button accesskey="s" type="submit" class="btn btn-inverse navbar-btn label-warning" onclick="return confirm('Confirm Re-Start')"><span class="glyphicon glyphicon-fire"></span> Re-Start</button> </form> </li> <li> </li> <li id="header_shutdown"> - <form action="/Steering.html" method="get" role="form"> + <form action="/Steering.html" method="get"> <input type="hidden" name="shutdown" value="" /> <button accesskey="s" type="submit" class="btn btn-inverse navbar-btn label-danger" onclick="return confirm('Confirm Shutdown')"><span class="glyphicon glyphicon-off"></span> Shutdown</button> </form> @@ -50,7 +50,7 @@ </ul> </li> <li id="header_administration"> - <form action="/index.html" method="get" role="form"> + <form action="/index.html" method="get"> <button accesskey="s" type="submit" class="btn btn-inverse navbar-btn label-primary"><span class="glyphicon glyphicon-search"></span> Search Interface »</button> </form> </li> diff --git a/htroot/env/templates/simpleheader.template b/htroot/env/templates/simpleheader.template index 39be7f99d..7125b3e49 100644 --- a/htroot/env/templates/simpleheader.template +++ b/htroot/env/templates/simpleheader.template @@ -49,7 +49,7 @@ </ul> </li> <li id="header_administration"> - <form action="/Status.html" method="get" role="form"> + <form action="/Status.html" method="get"> <button accesskey="s" type="submit" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-cog"></span> Administration »</button> </form> </li> |
