Method: HTMLProofer::Check::Images#empty_whitespace_alt_tag?
- Defined in:
- lib/html_proofer/check/images.rb
permalink #empty_whitespace_alt_tag? ⇒ Boolean
96 97 98 |
# File 'lib/html_proofer/check/images.rb', line 96 def empty_whitespace_alt_tag? !missing_alt_tag? && @img.node["alt"].strip.empty? end |