added role to a elements on `Filter` dropdown

This commit is contained in:
daria 2023-11-12 20:48:55 +02:00
parent 99d5f7cccf
commit 6cc377bede
1 changed files with 3 additions and 0 deletions

View File

@ -3338,6 +3338,7 @@ define([
}
getNewPadTypes().forEach(function (type) {
var attributes = {
'role': 'menuitem',
'class': 'cp-app-drive-filter-doc',
'data-type': type,
'href': '#'
@ -3364,6 +3365,7 @@ define([
options.push({
tag: 'a',
attributes: {
'role': 'menuitem',
'class': 'cp-app-drive-filter-doc',
'data-type': 'link',
'href': '#'
@ -3376,6 +3378,7 @@ define([
options.push({
tag: 'a',
attributes: {
'role': 'menuitem',
'class': 'cp-app-drive-filter-doc',
'data-type': 'file',
'href': '#'