lib/hatemile/implementation/accessible_css_implementation.rb
##
# The cells headers will be spoken for every data cell for element and
# descendants.
#
# @param element [Hatemile::Util::Html::HTMLDOMElement] The element.
The cells headers will be spoken for every data cell for element and
descendants.
The cells headers will be spoken for every data cell for element and descendants .
def speak_header_always_inherit(element)
        speak_header_once_inherit(element)
        cell_elements = @html_parser.find(element).find_descendants(
          'td[headers],th[headers]'
        ).list_results
        accessible_display = AccessibleDisplayImplementation(
          @html_parser,
          @configure
        )
        cell_elements.each do |cell_element|
          accessible_display.display_cell_header(cell_element)
        end
      end
def speak_header_always_inherit ( element ) speak_header_once_inherit ( element ) cell_elements = @html_parser . find ( element ) . find_descendants ( 'td[headers],th[headers]' ) . list_results accessible_display = AccessibleDisplayImplementation ( @html_parser , @configure ) cell_elements . each do | cell_element | accessible_display . display_cell_header ( cell_element ) end end
The cells headers will be spoken for every data cell for element and
descendants.
The cells headers will be spoken for every data cell for element and descendants .
element
None