Skip to content

Commit 1c72977

Browse files
committed
Add links with surrounding text in the Media Library list to the ignored violations.
1 parent 9b912ca commit 1c72977

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎tests/e2e/utils/accessibility-ignores-and-false-positives.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ module.exports = {
4343
// Post title links in list tables may have surrounding text and are only distinguished by color.
4444
// We consider this acceptable as these links can be distinguished by the context.
4545
'.wp-list-table strong .row-title',
46+
// Same for the Media Library list mode.
47+
'#posts-filter #the-list #post-* .has-media-icon a',
4648
// Em dashes for the pages hierarchy and other text e.g. post status are considered 'surrounding text'.
4749
'.wp-list-table #the-list #post-* th strong a',
4850
],

0 commit comments

Comments
 (0)