Fix lighthouse usability errors.

This commit is contained in:
Paulo Gustavo Veiga 2022-11-14 20:18:34 -08:00
parent 34b00a8a7f
commit 4f701d0b74

View File

@ -5,7 +5,7 @@
<!DOCTYPE HTML> <!DOCTYPE HTML>
<html> <html lang="${locale}">
<head> <head>
<meta name="viewport" content="initial-scale=1"> <meta name="viewport" content="initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@ -76,12 +76,12 @@
</head> </head>
<body> <body>
<div id="root" class="mindplot-root"> <div id="root" class="mindplot-root">
<mindplot-component id="mindmap-comp"></mindplot-component>
<div id="mindplot-tooltips" className="wise-editor"></div> <mindplot-component id="mindmap-comp"/>
<div id="mindplot-tooltips" className="wise-editor"></div>
<a href="${requestScope['site.homepage']}" target="new"> <a href="${requestScope['site.homepage']}" target="new" aria-label="WiseMapping Homepage">
<div id="footerLogo"></div> <div id="footerLogo"></div>
</a> </a>
<div id="mapDetails"> <div id="mapDetails">
@ -93,14 +93,14 @@
<div id="floating-panel"> <div id="floating-panel">
<div id="zoom-button"> <div id="zoom-button">
<button id="zoom-plus" title="Zoom Out"> <button id="zoom-plus" title="Zoom Out" alt="Zoom Out">
<img src="../../images/add.svg" width="24" height="24"/> <img src="../../images/add.svg" width="24" height="24"/>
</button> </button>
<button id="zoom-minus" title="Zoom In"> <button id="zoom-minus" title="Zoom In" title="Zoom Out" alt="Zoom In">
<img src="../../images/minus.svg" width="24" height="24"/> <img src="../../images/minus.svg" width="24" height="24"/>
</button> </button>
<div id="position"> <div id="position">
<button id="position-button" title="Center"> <button id="position-button" title="Zoom To Fit" alt="Zoom To Fit">
<img src="../../images/center_focus.svg" width="24" height="24"/> <img src="../../images/center_focus.svg" width="24" height="24"/>
</button> </button>
</div> </div>