# \#accessibility

**URL:** https://community.sonarsource.com/tag/accessibility/202.md

[Latest](https://community.sonarsource.com/latest.md) · [Categories](https://community.sonarsource.com/categories.md) · [Tags](https://community.sonarsource.com/tags.md)

---

## [Colorblind mode](https://community.sonarsource.com/t/colorblind-mode/109522)

<div class="topic-metadata">

**Author:** [@bmct](https://community.sonarsource.com/u/bmct)\
**Replies:** 7\
**Last updated:** [May 1, 2026, 3:03pm UTC](https://community.sonarsource.com/t/colorblind-mode/109522 "2026-05-01T15:03:40Z")

</div>

Hello, I have red-green colorblindness and am having a hard time seeing the difference between the various coverage markings. Is there a colorblind mode? Thanks

---

## [WCAG 2.1 AA+ accessibility rules in SonarQube](https://community.sonarsource.com/t/wcag-2-1-aa-accessibility-rules-in-sonarqube/177930)

<div class="topic-metadata">

**Author:** [@gab](https://community.sonarsource.com/u/gab)\
**Replies:** 4\
**Last updated:** [February 27, 2026, 3:04pm UTC](https://community.sonarsource.com/t/wcag-2-1-aa-accessibility-rules-in-sonarqube/177930 "2026-02-27T15:04:10Z")

</div>

Hello Community, We’ve added new accessibility rules for Web Content Accessibility Guidelines (WCAG) criteria: WCAG 2.1 A: 60% coverage (18 of 30 requirements) WCAG 2.1 AA: 52% coverage (26 of 50 requirements) WCAG 2.…

---

## [A false-positive warning in Sonar rule S6819 for valid use of role="region"](https://community.sonarsource.com/t/a-false-positive-warning-in-sonar-rule-s6819-for-valid-use-of-role-region/152747)

<div class="topic-metadata">

**Author:** [@ajaymalhotra](https://community.sonarsource.com/u/ajaymalhotra)\
**Replies:** 5\
**Last updated:** [November 26, 2025, 3:36pm UTC](https://community.sonarsource.com/t/a-false-positive-warning-in-sonar-rule-s6819-for-valid-use-of-role-region/152747 "2025-11-26T15:36:28Z")

</div>

What language is this for? TypeScript / Angular HTML templates Which rule? Rule: S6819 – Prefer tag over ARIA role Why do you believe it’s a false-positive? This warning is a false positive because the rule incorr…

---

## [HTML: RSPEC-1085 requires that every data table has a description](https://community.sonarsource.com/t/html-rspec-1085-requires-that-every-data-table-has-a-description/104119)

<div class="topic-metadata">

**Author:** [@ChristopheS](https://community.sonarsource.com/u/ChristopheS)\
**Replies:** 6\
**Last updated:** [August 21, 2025, 10:44am UTC](https://community.sonarsource.com/t/html-rspec-1085-requires-that-every-data-table-has-a-description/104119 "2025-08-21T10:44:56Z")

</div>

Based on RSPEC-1085, SonarLint requires that each table has a description, which may be provided as a caption element, referenced by means of aria-describedby or provided as an aria-label attribute. (I am ignoring the ol…

---

## [Add accessibility statement to the homepage](https://community.sonarsource.com/t/add-accessibility-statement-to-the-homepage/144129)

<div class="topic-metadata">

**Author:** [@MPA](https://community.sonarsource.com/u/MPA)\
**Replies:** 4\
**Last updated:** [August 12, 2025, 9:32am UTC](https://community.sonarsource.com/t/add-accessibility-statement-to-the-homepage/144129 "2025-08-12T09:32:28Z")

</div>

Hi, I need to add an accessibility statement to our SonarQube Community Build instance as required by French law: Déclaration d’accessibilité - RGAA As I understand, it’s not possible to customize the footer or the hea…

---

## [False positive for S1082 (Angular keyup.enter event not recognized)](https://community.sonarsource.com/t/false-positive-for-s1082-angular-keyup-enter-event-not-recognized/114253)

<div class="topic-metadata">

**Author:** [@rdimitrov](https://community.sonarsource.com/u/rdimitrov)\
**Replies:** 11\
**Last updated:** [May 12, 2025, 11:45am UTC](https://community.sonarsource.com/t/false-positive-for-s1082-angular-keyup-enter-event-not-recognized/114253 "2025-05-12T11:45:46Z")

</div>

Hello, since a couple of days the HTML analysis of our Angular 17 application fails with an unfulfilled S1082 Mouse events should have corresponding keyboard events concerning interactive \<div\> elements: \<div role="but…

---

## [Remove deprecated ARIA roles from rule typescript:S6819](https://community.sonarsource.com/t/remove-deprecated-aria-roles-from-rule-typescript-s6819/134470)

<div class="topic-metadata">

**Author:** [@efenderbosch](https://community.sonarsource.com/u/efenderbosch)\
**Replies:** 12\
**Last updated:** [March 5, 2025, 5:56pm UTC](https://community.sonarsource.com/t/remove-deprecated-aria-roles-from-rule-typescript-s6819/134470 "2025-03-05T17:56:27Z")

</div>

Several deprecated ARIA roles are being suggested in rule typescript:S6819. See WAI-ARIA Roles - Accessibility | MDN Forcing these deprecated tags to be used is not best practice and sprinkling NOSONAR all over the pla…

---

## [Typescript RSPEC-6819 should not always require HTML's output element instead of ARIA status role](https://community.sonarsource.com/t/typescript-rspec-6819-should-not-always-require-htmls-output-element-instead-of-aria-status-role/133611)

<div class="topic-metadata">

**Author:** [@ChristopheS](https://community.sonarsource.com/u/ChristopheS)\
**Replies:** 2\
**Last updated:** [January 24, 2025, 3:50pm UTC](https://community.sonarsource.com/t/typescript-rspec-6819-should-not-always-require-htmls-output-element-instead-of-aria-status-role/133611 "2025-01-24T15:50:12Z")

</div>

The Typescript rule RSPEC-6819: Prefer tag over ARIA role is applied a bit too broadly. This can be observed both with SonarLint in VSCodium and with SonarQube. Snippet to reproduce the issue \<form\> \<p\>\<label for="te…

---

## [S1082 / RSPEC-1082 on native buttons versus custom buttons](https://community.sonarsource.com/t/s1082-rspec-1082-on-native-buttons-versus-custom-buttons/133619)

<div class="topic-metadata">

**Author:** [@ChristopheS](https://community.sonarsource.com/u/ChristopheS)\
**Replies:** 1\
**Last updated:** [January 24, 2025, 2:21pm UTC](https://community.sonarsource.com/t/s1082-rspec-1082-on-native-buttons-versus-custom-buttons/133619 "2025-01-24T14:21:33Z")

</div>

RSPEC-1082: Mouse events should have corresponding keyboard events is triggered on custom buttons with only onclick but not on native buttons. Consider the following snippet: \<p\>\<button type="button" onclick="pleaseD…

---

## [New HTML rule: disallow wrapping of legend in a div](https://community.sonarsource.com/t/new-html-rule-disallow-wrapping-of-legend-in-a-div/126597)

<div class="topic-metadata">

**Author:** [@ChristopheS](https://community.sonarsource.com/u/ChristopheS)\
**Replies:** 3\
**Last updated:** [January 17, 2025, 4:05pm UTC](https://community.sonarsource.com/t/new-html-rule-disallow-wrapping-of-legend-in-a-div/126597 "2025-01-17T16:05:36Z")

</div>

I often see front-end developers wrap a legend element in a div in order to have more styling options. Unfortunately, that makes the legend element useless. Rule: the legend element must always be the first child elemen…

---

## [HTML: RSPEC-1097 flags inputs wrapped in label elements](https://community.sonarsource.com/t/html-rspec-1097-flags-inputs-wrapped-in-label-elements/105298)

<div class="topic-metadata">

**Author:** [@ChristopheS](https://community.sonarsource.com/u/ChristopheS)\
**Replies:** 1\
**Last updated:** [March 30, 2024, 9:48am UTC](https://community.sonarsource.com/t/html-rspec-1097-flags-inputs-wrapped-in-label-elements/105298 "2024-03-30T09:48:29Z")

</div>

Based on RSPEC-1097 SonarLint in VS Code issues error messages for the input elements in the following code: \<form\> \<fieldset\> \<legend\>Gender\</legend\> \<p\>\<label\>\<input name="gender" type="radio" value="fe"\> Fe…

---

## [HTML: RSPEC-1102 demands either id or scope on each th element](https://community.sonarsource.com/t/html-rspec-1102-demands-either-id-or-scope-on-each-th-element/105297)

<div class="topic-metadata">

**Author:** [@ChristopheS](https://community.sonarsource.com/u/ChristopheS)\
**Replies:** 1\
**Last updated:** [March 30, 2024, 10:17am UTC](https://community.sonarsource.com/t/html-rspec-1102-demands-either-id-or-scope-on-each-th-element/105297 "2024-03-30T10:17:37Z")

</div>

RSPEC-1102 erroneously demands that each th element has either an id or a scope attribute, even in simple tables. The table below is quoted from the HTML5 specification (but with end tags added where the spec omits the o…

---

## [HTML: RSPEC-5254 requires lang on the html element](https://community.sonarsource.com/t/html-rspec-5254-requires-lang-on-the-html-element/104118)

<div class="topic-metadata">

**Author:** [@ChristopheS](https://community.sonarsource.com/u/ChristopheS)\
**Replies:** 1\
**Last updated:** [March 30, 2024, 9:30am UTC](https://community.sonarsource.com/t/html-rspec-5254-requires-lang-on-the-html-element/104118 "2024-03-30T09:30:18Z")

</div>

Based on RSPEC-5254, SonarLInt claims that the following code is non-compliant: \<!DOCTYPE html\> \<html\> \<head\> \<title lang="en"\>SonarLint Test File\</title\> \</head\> \<body lang="en"\> The error message provided b…

---

## [HTML: RSPEC-1096 does not detect title when there is no head start tag](https://community.sonarsource.com/t/html-rspec-1096-does-not-detect-title-when-there-is-no-head-start-tag/104643)

<div class="topic-metadata">

**Author:** [@ChristopheS](https://community.sonarsource.com/u/ChristopheS)\
**Replies:** 3\
**Last updated:** [December 5, 2023, 10:25am UTC](https://community.sonarsource.com/t/html-rspec-1096-does-not-detect-title-when-there-is-no-head-start-tag/104643 "2023-12-05T10:25:05Z")

</div>

RSPEC-1096 requires that every HTML page has a title element, which is correct. However, when using SonarLint in Visual Studio Code, the following code snippet triggers an error message: \<!DOCTYPE html\> \<html\> \<title…

---

## [Sort security tokens](https://community.sonarsource.com/t/sort-security-tokens/99301)

<div class="topic-metadata">

**Author:** [@Narfix](https://community.sonarsource.com/u/Narfix)\
**Replies:** 1\
**Last updated:** [September 29, 2023, 9:33am UTC](https://community.sonarsource.com/t/sort-security-tokens/99301 "2023-09-29T09:33:27Z")

</div>

which versions are you using : SonarQube 10.2 how is SonarQube deployed: zip what are you trying to achieve : sort the security token what have you tried so far to achieve this : clicked around In the /account/security…

---

## [Enabling role based access in a project team](https://community.sonarsource.com/t/enabling-role-based-access-in-a-project-team/96757)

<div class="topic-metadata">

**Author:** [@Pramila\_halyal](https://community.sonarsource.com/u/Pramila_halyal)\
**Replies:** 2\
**Last updated:** [August 28, 2023, 2:19pm UTC](https://community.sonarsource.com/t/enabling-role-based-access-in-a-project-team/96757 "2023-08-28T14:19:09Z")

</div>

Hi SonarQube team, We are using Enterprise Edition of SonarQube 9.9. I want to know is there a way we can restrict access to specific users in the team from updating the issue properties such as issue type, severity, st…

---

## [Duplicated Code indicator is light gray on a white background](https://community.sonarsource.com/t/duplicated-code-indicator-is-light-gray-on-a-white-background/97628)

<div class="topic-metadata">

**Author:** [@Mason-ONeil\_cvsh](https://community.sonarsource.com/u/Mason-ONeil_cvsh)\
**Replies:** 1\
**Last updated:** [August 17, 2023, 3:23pm UTC](https://community.sonarsource.com/t/duplicated-code-indicator-is-light-gray-on-a-white-background/97628 "2023-08-17T15:23:07Z")

</div>

The color used when highlighting duplicated lines of code needs to have more of a contrast on a white background. Right now the duplicated code indicator on the “Measures → Duplications → Select file” screens is light gr…

---

## [How to scan accessibility issues using SonarCloud?](https://community.sonarsource.com/t/how-to-scan-accessibility-issues-using-sonarcloud/91704)

<div class="topic-metadata">

**Author:** [@mercia-davidhirst](https://community.sonarsource.com/u/mercia-davidhirst)\
**Replies:** 4\
**Last updated:** [May 31, 2023, 1:36pm UTC](https://community.sonarsource.com/t/how-to-scan-accessibility-issues-using-sonarcloud/91704 "2023-05-31T13:36:26Z")

</div>

Is there a feature within SonarCloud that enables you to scan for Accessibility issues specifically? If so how is this enabled/configured?

---

## [Access Issue with BitBucket Account for SonarCloud](https://community.sonarsource.com/t/access-issue-with-bitbucket-account-for-sonarcloud/62316)

<div class="topic-metadata">

**Author:** [@Lokendra\_R](https://community.sonarsource.com/u/Lokendra_R)\
**Replies:** 1\
**Last updated:** [April 27, 2022, 12:59pm UTC](https://community.sonarsource.com/t/access-issue-with-bitbucket-account-for-sonarcloud/62316 "2022-04-27T12:59:09Z")

</div>

Recently we purchased SonarCloud and we are facing an issue where in organisation repositories are not showing. We came across this situation because while purchasing our user was not having admin access of BitBucket rep…

---

## [Quality gate with only accessibility bugs](https://community.sonarsource.com/t/quality-gate-with-only-accessibility-bugs/52150)

<div class="topic-metadata">

**Author:** [@Isabel](https://community.sonarsource.com/u/Isabel)\
**Replies:** 1\
**Last updated:** [October 27, 2021, 4:00pm UTC](https://community.sonarsource.com/t/quality-gate-with-only-accessibility-bugs/52150 "2021-10-27T16:00:44Z")

</div>

Hello guys. I need to create a new Quality gate for my project, only with accessibility bugs in HTML. Is it possible? What conditions should I use? Thanks

---

## [New User Azure DevOps Access](https://community.sonarsource.com/t/new-user-azure-devops-access/48582)

<div class="topic-metadata">

**Author:** [@pkettlew](https://community.sonarsource.com/u/pkettlew)\
**Replies:** 4\
**Last updated:** [September 2, 2021, 4:15am UTC](https://community.sonarsource.com/t/new-user-azure-devops-access/48582 "2021-09-02T04:15:14Z")

</div>

A new “customer / user” when I click on the AzureDevOps on the https://sonarcloud.io/ site to start using , I get “Need admin approval” What am I been asked for here , I am an Azure Devops Owner ? Is this something di…

---

## [Enhancement to rule ‘Mouse events should have corresponding keyboard events’](https://community.sonarsource.com/t/enhancement-to-rule-mouse-events-should-have-corresponding-keyboard-events/38979)

<div class="topic-metadata">

**Author:** [@abdul.khan](https://community.sonarsource.com/u/abdul.khan)\
**Replies:** 2\
**Last updated:** [March 4, 2021, 6:08pm UTC](https://community.sonarsource.com/t/enhancement-to-rule-mouse-events-should-have-corresponding-keyboard-events/38979 "2021-03-04T18:08:50Z")

</div>

It would be great if Sonar could support Angular’s (keydown.enter) attribute as well and not just (keydown). A lot of people use keydown.enter alongside the click attribute but it’s flagged as being noncompliant with thi…

---

## [MouseEventWithoutKeyboardEquivalentCheck requires native js events](https://community.sonarsource.com/t/mouseeventwithoutkeyboardequivalentcheck-requires-native-js-events/21098)

<div class="topic-metadata">

**Author:** [@kutensky](https://community.sonarsource.com/u/kutensky)\
**Replies:** 0\
**Last updated:** [March 4, 2020, 2:01pm UTC](https://community.sonarsource.com/t/mouseeventwithoutkeyboardequivalentcheck-requires-native-js-events/21098 "2020-03-04T14:01:27Z")

</div>

Recently I found out about “MouseEventWithoutKeyboardEquivalentCheck” rule. It triggers when node (hasClickEvent || hasRoleButton) && !hasKeyPressEvent I understand the requirement that asks you to add KeyPress event …

---

## [How to scan accessibility issues using SonarQube?](https://community.sonarsource.com/t/how-to-scan-accessibility-issues-using-sonarqube/17307)

<div class="topic-metadata">

**Author:** [@kkaur](https://community.sonarsource.com/u/kkaur)\
**Replies:** 1\
**Last updated:** [December 6, 2019, 7:26am UTC](https://community.sonarsource.com/t/how-to-scan-accessibility-issues-using-sonarqube/17307 "2019-12-06T07:26:18Z")

</div>

Hello, We are using SonarQube version 7.9. We are trying to scan our code for accessibility issues and we want to leverage SonarQube for the same to report any accessibility issues and help improve our org’s UI. As of …

---

## [Add support for "Accessibility Conformance Testing (ACT) Rules Format 1.0""](https://community.sonarsource.com/t/add-support-for-accessibility-conformance-testing-act-rules-format-1-0/17109)

<div class="topic-metadata">

**Author:** [@pportejoie](https://community.sonarsource.com/u/pportejoie)\
**Replies:** 4\
**Last updated:** [November 27, 2019, 3:59pm UTC](https://community.sonarsource.com/t/add-support-for-accessibility-conformance-testing-act-rules-format-1-0/17109 "2019-11-27T15:59:33Z")

</div>
