# Bug OP-18660 - Fix AXe Accessibility error: Navigation toggler must have discernible text

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-18660

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Frontend components and Primer design system, Modules and project features / Navigation |
| Target versions | 17.0.2 |
| Observed in versions | 17.0.0 |
| Sprint | 17.0.2 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.0.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | Yes |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Alexander Coles |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Login as a user to OpenProject.
    
2.  Visit any page with a left-hand menu
    
3.  Scan the page with the [AXe DevTools](https://chromewebstore.google.com/detail/lhdoppojpmngadmnindnejefpokejbdd?utm_source=item-share-cb) browser extension.
    

### What is the buggy behavior?

*   AXe DevTools reports that buttons should have discernible text - this error occurs because the left-hand menu toggler has neither text or applicable ARIA labels.
    

### What is the expected behavior?

1.  AXe DevTools should not report the &quot;ensure buttons have discernible text&quot; error for this button.
    
2.  The button should have an accessible name (`aria-label`) making its purpose clear.
    
3.  The button should also have indicate its current state via `aria-expanded`.
    

### Screenshots and other files

_<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/918241/content">_

### Environment information

**OpenProject installation type**

*   Hosted cloud edition
    

**OpenProject version**

**Core build**

[b229c5750d34670d391bc8e12c176f2faf29d7e4](https://github.com/opf/openproject/commits/b229c5750d34670d391bc8e12c176f2faf29d7e4)

**Product version**

[2f57a70dd455e8ac9de62708487287ff0e3e69a1](https://github.com/opf/saas-openproject/commits/2f57a70dd455e8ac9de62708487287ff0e3e69a1)

**Core version**

OpenProject 17.1.0

**Browser**

*   [x] Chrome
*   [ ] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [ ] Other (please specify)

**Operating System**

*   [ ] Windows
*   [x] Mac OS X
*   [ ] Mobile iOS
*   [ ] Mobile Android
*   [ ] Linux (please specify distro)
*   [ ] Chrome OS
*   [ ] Other (please specify)

**Language**

_en\_GB_
