Keep mobile result drawer accessible
This commit is contained in:
@@ -2678,6 +2678,7 @@ export function MapWorkspace({
|
|||||||
type="button"
|
type="button"
|
||||||
aria-controls="geo-explorer-results"
|
aria-controls="geo-explorer-results"
|
||||||
aria-expanded={resultsPanelOpen}
|
aria-expanded={resultsPanelOpen}
|
||||||
|
aria-label={resultsPanelOpen ? 'Sluit inzichten' : 'Open inzichten'}
|
||||||
onClick={() => setResultsPanelOpen((open) => !open)}
|
onClick={() => setResultsPanelOpen((open) => !open)}
|
||||||
>
|
>
|
||||||
{resultsPanelOpen ? <ChevronRight aria-hidden="true" /> : <ChevronLeft aria-hidden="true" />}
|
{resultsPanelOpen ? <ChevronRight aria-hidden="true" /> : <ChevronLeft aria-hidden="true" />}
|
||||||
|
|||||||
Reference in New Issue
Block a user