From 34b26d3f4d3a0058cef33c6520fbcd82c29b920f Mon Sep 17 00:00:00 2001 From: K Lange Date: Tue, 12 Sep 2023 05:17:50 -0600 Subject: [PATCH] [accessibility] Remove role="list" from Attribution (#12857) * Remove role list from attribution inner container --- src/ui/control/attribution_control.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ui/control/attribution_control.js b/src/ui/control/attribution_control.js index b2b029a8204..82e71065f7b 100644 --- a/src/ui/control/attribution_control.js +++ b/src/ui/control/attribution_control.js @@ -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');