Improved accessibility (#118):

* adding role="button" or type="button" where missing.
This commit is contained in:
John Livingston
2024-08-20 15:30:45 +02:00
parent 9e252193d4
commit cee42b4bcc
11 changed files with 24 additions and 19 deletions

View File

@ -117,7 +117,7 @@ const tplViewerMode = (o) => {
: html`
<hr>
<div class="livechat-viewer-mode-external-login">
<button class="btn btn-primary" @click=${ev => {
<button type="button" class="btn btn-primary" @click=${ev => {
ev.preventDefault()
api.modal.show('converse-livechat-external-login')
}}>${i18nExternalLogin}</button>