Skip to content

A CSS file that you can add to your WordPress theme. It flags up potential accessibility issues when your content authors preview the post or page that they have just added or amended. Site visitors who are not logged in will not see the potential issues.

Notifications You must be signed in to change notification settings

grahamarmfield/wp-preview-csshacks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

wp-preview-csshacks

A CSS file that you can add to your WordPress theme.

It flags up potential accessibility issues when your content authors preview the post or page that they have just added or amended.

Site visitors who are not logged in will not see the potential issues.

Currently contains checks for:

  • Images with empty alt attributes
  • Links that open new windows
  • Links that have a title attribute
  • images that have no alt attribute
  • images that have the title attribute
  • svg files that don't have role="img"
  • inline svgs that don't have role="img"
  • empty headings
  • empty links
  • empty buttons
  • empty headings
  • empty table header cells
  • empty table data cells

Flags each element found with an outline. Where possible explains what the issue is on the page.

About

A CSS file that you can add to your WordPress theme. It flags up potential accessibility issues when your content authors preview the post or page that they have just added or amended. Site visitors who are not logged in will not see the potential issues.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages