raakt 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/raakt.rb +6 -2
- metadata +2 -2
data/lib/raakt.rb
CHANGED
|
@@ -47,7 +47,7 @@ module Raakt
|
|
|
47
47
|
:missing_area_alt_text => "Missing alt text for area with id/name '%s'."
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
VERSION = "0.5.
|
|
50
|
+
VERSION = "0.5.2"
|
|
51
51
|
|
|
52
52
|
class ErrorMessage
|
|
53
53
|
|
|
@@ -305,7 +305,11 @@ module Raakt
|
|
|
305
305
|
formatting_items = (@doc/formatting_elements.join('|'))
|
|
306
306
|
|
|
307
307
|
unless formatting_items.empty?
|
|
308
|
-
|
|
308
|
+
found_elements = []
|
|
309
|
+
for element in formatting_items
|
|
310
|
+
found_elements << element.name
|
|
311
|
+
end
|
|
312
|
+
messages << ErrorMessage.new(:missing_semantics, "#{found_elements.join(', ')}")
|
|
309
313
|
end
|
|
310
314
|
|
|
311
315
|
flicker_elements = %w(blink marquee)
|
metadata
CHANGED
|
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
|
3
3
|
specification_version: 1
|
|
4
4
|
name: raakt
|
|
5
5
|
version: !ruby/object:Gem::Version
|
|
6
|
-
version: 0.5.
|
|
7
|
-
date: 2007-03-
|
|
6
|
+
version: 0.5.2
|
|
7
|
+
date: 2007-03-31 00:00:00 +02:00
|
|
8
8
|
summary: A toolkit to find accessibility issues in HTML documents.
|
|
9
9
|
require_paths:
|
|
10
10
|
- lib
|