Skip to content

Commit b1419fa

Browse files
authored
feat: Add aria label to breadcrumb attributes (#6955)
1 parent d33b88c commit b1419fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/utils/src/browser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function _htmlElementAsString(el: unknown, keyAttrs?: string[]): string {
108108
}
109109
}
110110
}
111-
const allowedAttrs = ['type', 'name', 'title', 'alt'];
111+
const allowedAttrs = ['aria-label', 'type', 'name', 'title', 'alt'];
112112
for (i = 0; i < allowedAttrs.length; i++) {
113113
key = allowedAttrs[i];
114114
attr = elem.getAttribute(key);

0 commit comments

Comments
 (0)