def _keyboard_access(self, element):
        """
        Provide keyboard access for element, if it not has.

        :param element: The element.
        :type element: hatemile.util.html.htmldomelement.HTMLDOMElement
        """
        # pylint: disable=no-self-use

        if not element.has_attribute('tabindex'):
            tag = element.get_tag_name()
            if (tag == 'A') and (not element.has_attribute('href')):
                element.set_attribute('tabindex', '0')
            elif (
                (tag != 'A')
                and (tag != 'INPUT')
                and (tag != 'BUTTON')
                and (tag != 'SELECT')
                and (tag != 'TEXTAREA')
            ):
                element.set_attribute('tabindex', '0')
Provide keyboard access for element, if it not has.

        :param element: The element.
        :type element: hatemile.util.html.htmldomelement.HTMLDOMElement