lib/hatemile/implementation/accessible_css_implementation.rb
##
# Create a element to show the content, only to visual displays.
#
# @param content [String] The text content of element.
# @param data_property_value [String] The value of custom attribute used
#   to identify the fix.
# @return [Hatemile::Util::Html::HTMLDOMElement] The element to show the
#   content.
Create a element to show the content, only to visual displays.
Create a element to show the content only to visual displays .
def create_visual_content_element(content, data_property_value)
        content_element = create_content_element(content, data_property_value)
        content_element.set_attribute('aria-hidden', 'true')
        content_element.set_attribute('role', 'presentation')
        content_element
      end
def create_visual_content_element ( content , data_property_value ) content_element = create_content_element ( content , data_property_value ) content_element . set_attribute ( 'aria-hidden' , 'true' ) content_element . set_attribute ( 'role' , 'presentation' ) content_element end
Create a element to show the content, only to visual displays.
Create a element to show the content only to visual displays .
The element to show the content.
The element to show the content .
Hatemile::Util::Html::HTMLDOMElement
content
The text content of element.
The text content of element .
data_property_value
The value of custom attribute used to identify the fix.
The value of custom attribute used to identify the fix .