Fixed some accessibility issues in the dialogs:

1) Aria-label additions at few missing places.
  2) Label additions with  'sr-only' class where hidden labels required.
  3) Converted label to span to solve accessibility error.

Fixes #4608
This commit is contained in:
Pradip Parkale
2020-03-19 16:08:51 +05:30
committed by Akshay Joshi
parent 83785da1bc
commit 96361656e4
7 changed files with 21 additions and 20 deletions

View File

@@ -38,6 +38,7 @@ export class RestoreDialogWrapper extends DialogWrapper {
type: 'button',
url: 'backup.html',
label: gettext('Restore'),
'aria-label': gettext('Object Help'),
},
}, {
text: '',