Skip to content

Commit

Permalink
[accessibility] Remove role="list" from Attribution (#12857)
Browse files Browse the repository at this point in the history
* Remove role list from attribution inner container
  • Loading branch information
kumilange committed Sep 12, 2023
1 parent d11628d commit 34b26d3
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 @@ -64,7 +64,6 @@ class AttributionControl {
this._compactButton.addEventListener('click', this._toggleAttribution);
this._setElementTitle(this._compactButton, 'ToggleAttribution');
this._innerContainer = DOM.create('div', 'mapboxgl-ctrl-attrib-inner', this._container);
this._innerContainer.setAttribute('role', 'list');

if (compact) {
this._container.classList.add('mapboxgl-compact');
Expand Down

0 comments on commit 34b26d3

Please sign in to comment.