Improved accessibility (#118):
* adding role="button" or type="button" where missing.
This commit is contained in:
@ -43,7 +43,7 @@ function getToolbarButtons (this: any, toolbarEl: any, buttons: any[]): any {
|
||||
size="1em">
|
||||
</converse-icon>`
|
||||
buttons.push(html`
|
||||
<button class="toggle-occupants btn"
|
||||
<button class="toggle-occupants btn" type="button"
|
||||
title="${toolbarEl.hidden_occupants ? i18nShowOccupants : i18nHideOccupants}"
|
||||
@click=${(ev?: Event) => {
|
||||
ev?.preventDefault()
|
||||
|
Reference in New Issue
Block a user