Accessibility score calculation
The formula for calculating the App Accessibility score.
The accessibility score of a report is calculated based on the number of rules violated in the report and the severity of those violations.
Calculating accessibility score
BrowserStack App Accessibility Testing calculates the accessibility score of your report in the following steps:
Based on whether an accessibility rule is applicable, passed, or failed, a multiplier is assigned as follows:
| Multiplier | Condition | Description |
|---|---|---|
| 1 | Passed | The rule is applicable to at least one element in the report. All elements assessed against the rule passed. |
| 2 | Failed | The rule is applicable to at least one element in the report. At least one element assessed against the rule has a confirmed violation. Failed rules have a higher multiplier, as failures are penalized more than passes are rewarded. |
| 0 | Not applicable | The rule does not apply to any element in the report. |
A rule is considered:
- Applicable when the rule is selected for the report and at least one element in the report is assessed against it.
- Passed when no element assessed against the rule has failed.
- Failed when at least one element assessed against the rule has a confirmed violation. Experimental rules are included in the score calculation.
Based on the severity of each accessibility rule, a score is assigned as follows:
| Score | Severity |
|---|---|
| 10 | Critical |
| 7 | Serious |
| 3 | Moderate |
| 1 | Minor |
The total passed score (P) and failed score (F) are calculated using the following formulae:
For each applicable rule i from 1 to r,
Impact of passed rules on score = P = Σ(Severityi × Applicablei × Multiplieri)
Impact of failed rules on score = F = Σ(Severityi × Applicablei × Multiplieri)
With a multiplier of 2 applied to failed rules, failures are penalized twice. The effective score values are:
Minor: 2, Moderate: 6, Serious: 14, Critical: 20
The accessibility score for a report is calculated using the following formula:
Accessibility score = [P / (P + F)] × 100
Where:
- A score of 100 means all applicable rules passed.
- A score of 0 means all applicable rules failed.
- If no rules are applicable to the report (P + F = 0), the score is not calculated.
Needs Review issues are not treated as failed. They are treated as passed until you review and confirm them as valid accessibility violations. Confirming a Needs Review issue updates the accessibility score to reflect the change.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!