-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
None
-
Affects Version/s: 9.12.2
-
9.12
-
Severity 3 - Minor
Issue Summary
The state has been defined inappropriately for the "Complete sprint" button.
Steps to Reproduce
- Open the "Scrum board" page.
- Using the screen reader, navigate to the mentioned instance.
- Listen that the state is announced inappropriately.
- Also, inspect the code of the instance.
- Observe that the state is defined inappropriately.
Screenshot

Actual Results
When the user navigates to the "Complete sprint" button using the screen reader, it announces the state as a toggle button which visually does not seem like a toggle button.
As a result, the screen reader users will find it difficult to understand the purpose and functionality of the button.
Expected Results
The state of the button should not be announced as a toggle button.
Remove the "aria-pressed" attribute from the <a> element that contains the role="button"
Code Example:
<a id="ghx-complete-sprint" class="aui-button js-complete-sprint" tabindex="0" role="button" aria-haspopup="dialog" resolved="">Complete sprint</a>
Workaround
Currently, there is no known workaround for this behaviour. A workaround will be added here when available
Environment
MacBook Pro (16-inch, 2021)
macOs Sonoma 14.3
Chrome - Version 120.0.6099.109 (Official Build) (arm64)
Firefox- Version 92.0 (64-bit)
Safari- Version 17.3 (19617.2.4.11.8)
JAWS- Version 2023
NVDA- Version 2021.2
Voiceover - Version Latest