Skip to content

Commit

Permalink
added - text justified summary
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveJonesDev committed Dec 12, 2023
1 parent 97aaeb6 commit 76f4d4a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion includes/rules.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,13 @@
'info_url' => 'https://a11ychecker.com/help1980',
'slug' => 'text_justified',
'rule_type' => 'warning',
'summary' => '',
'summary' => sprintf(
// translators: %s is <code>&lt;p&gt;</code>, %s is <code>&lt;div&gt;</code>, %s is <code>&lt;td&gt;</code>.
esc_html__( 'A Text Justified warning shows up in Accessibility Checker when the text on your post or page, either a %1$s, %2$s, or %3$s element, with more than 500 characters has been styled with a justified alignment (text-align:justify). To fix this warning, you will need to remove the justified styling from the specified text elements.', 'accessibility-checker' ),
'<code>&lt;p&gt;</code>',
'<code>&lt;div&gt;</code>',
'<code>&lt;td&gt;</code>'
),
),
array(
'title' => esc_html__( 'Link Opens New Window or Tab', 'accessibility-checker' ),
Expand Down

0 comments on commit 76f4d4a

Please sign in to comment.