Skip to content

Commit 0b730a4

Browse files
Merge pull request #1793 from equalizedigital/copilot/change-order-dismiss-reasons
Set “Confirmed accessible” as first/default dismiss reason
2 parents 4a35137 + 876320b commit 0b730a4

6 files changed

Lines changed: 53 additions & 76 deletions

File tree

admin/class-ignore-ui.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ class IgnoreUI {
2727
*/
2828
public static function get_reasons(): array {
2929
return [
30+
'accessible' => [
31+
'label' => __( 'Confirmed accessible', 'accessibility-checker' ),
32+
'description' => __( 'Reviewed and verified to meet accessibility requirements.', 'accessibility-checker' ),
33+
],
3034
'false_positive' => [
3135
'label' => __( 'False positive', 'accessibility-checker' ),
3236
'description' => __( 'The scanner flagged this, but it does not apply to this content.', 'accessibility-checker' ),
@@ -35,10 +39,6 @@ public static function get_reasons(): array {
3539
'label' => __( 'Remediated', 'accessibility-checker' ),
3640
'description' => __( 'The issue has been fixed, but the page has not been rescanned yet.', 'accessibility-checker' ),
3741
],
38-
'accessible' => [
39-
'label' => __( 'Confirmed accessible', 'accessibility-checker' ),
40-
'description' => __( 'Reviewed and verified to meet accessibility requirements.', 'accessibility-checker' ),
41-
],
4242
];
4343
}
4444

0 commit comments

Comments
 (0)