From dab68cf8414a9be08d1041ca6627ada8e242bf97 Mon Sep 17 00:00:00 2001 From: tomasz1986 Date: Tue, 20 Sep 2022 11:46:35 +0200 Subject: [PATCH] gui: Add size and improve alt text of device QR code image (#8545) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently, the QR code image has no size specified in the HTML. This causes other elements of the modal to jump around when opening it for the first time and waiting for the QR image to generate. The jumping is especially noticeable when the GUI is accessed remotely and there is a delay while loading the elements due to slow connection. In addition, capitalise "QR" in the alt text. This is necessary for accessibility reasons, e.g. when using a screen reader, which may read upper- and lowercase characters differently. Lastly, allow to translate the alt text itself. Signed-off-by: Tomasz WilczyƄski --- gui/default/syncthing/device/idqrModalView.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/default/syncthing/device/idqrModalView.html b/gui/default/syncthing/device/idqrModalView.html index 24f8da0e7..729fc78aa 100644 --- a/gui/default/syncthing/device/idqrModalView.html +++ b/gui/default/syncthing/device/idqrModalView.html @@ -1,7 +1,7 @@