From d57240318100583c108585e87bcc7fd9f434bdb3 Mon Sep 17 00:00:00 2001 From: niceborn Date: Thu, 8 Dec 2022 12:30:37 +0100 Subject: [PATCH] Accessibility fixes - fix Accessibility issues - add functionality (copy to clipboard) - layout changes --- src/main/webapp/index.jsp | 50 +++++++++++++++++++++++++++++++-------- 1 file changed, 40 insertions(+), 10 deletions(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 2394c58..4a04848 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -35,9 +35,11 @@ window.onload = function() { document.myCodeMirror = CodeMirror.fromTextArea( document.getElementById("text"), - { lineNumbers: true } + { lineNumbers: true, + extraKeys: {Tab: false, "Shift-Tab": false} + } ); - }; + }; PlantUMLServer @@ -56,24 +58,27 @@
<%-- CONTENT --%>
-

+

- +   +


You can enter here a previously generated URL:

-

- +

+
- +   +

<% if (hasImg) { %>
- View as SVG  - View as ASCII Art  + View as PNG  + View as SVG  + View as ASCII Art  <% if (hasMap) { %> View Map Data <% } %> @@ -81,11 +86,36 @@ <%@ include file="resource/socialbuttons2.jspf" %> <% } %>

- PlantUML diagram + PlantUML diagram <%= map %>

<% } %>
+ <%-- FOOTER --%> <%@ include file="footer.jspf" %>