Skip to content

Commit

Permalink
remove redundant aria-label that fails accessibility conformance (#12981
Browse files Browse the repository at this point in the history
)
  • Loading branch information
maggiewachs committed Nov 30, 2023
1 parent d99e371 commit d092c83
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ui/control/attribution_control.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ class AttributionControl {

_setElementTitle(element: HTMLElement, title: string) {
const str = this._map._getUIString(`AttributionControl.${title}`);
element.setAttribute('aria-label', str);
element.removeAttribute('title');
if (element.firstElementChild) element.firstElementChild.setAttribute('title', str);
}
Expand Down

0 comments on commit d092c83

Please sign in to comment.