raakt 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/raakt.rb +6 -2
  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.1"
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
- messages << ErrorMessage.new(:missing_semantics, "#{formatting_items.join(', ')}")
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.1
7
- date: 2007-03-03 00:00:00 +01:00
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