diff --git a/opentech/static_src/src/app/src/components/Switcher/index.js b/opentech/static_src/src/app/src/components/Switcher/index.js index e818111a3107dd285635d34025d92fadd3a9eb8d..e3c04e79fc44495eb1a50e6656ce558f1a585ebd 100644 --- a/opentech/static_src/src/app/src/components/Switcher/index.js +++ b/opentech/static_src/src/app/src/components/Switcher/index.js @@ -16,8 +16,8 @@ class Switcher extends React.Component { return ReactDOM.createPortal( <> - <button className={`button button--switcher ${open ? 'is-active' : ''}`} onClick={handleOpen}><ArrayIcon /></button> - <button className={`button button--switcher ${open ? '' : 'is-active'}`} onClick={handleClose}><GridIcon /></button> + <button className={`button button--switcher ${open ? 'is-active' : ''}`} onClick={handleOpen} aria-label="Show grid"><ArrayIcon /></button> + <button className={`button button--switcher ${open ? '' : 'is-active'}`} onClick={handleClose} aria-label="Show table"><GridIcon /></button> </>, this.el, );