Skip to content

Accessibility #7637

@jjsarton

Description

@jjsarton

Description

The accessibility for SMF is very worse.

Some HTML elements have an attribute tabindex with a value greater than 0.
With HTML 5 the tabindex make HTML elements as DIV or SPAN focusable if the tabindex is 0.
Other values are not allowed and tabindex shall not be used on form elements as input, button, select or textarea.
Furthermore, applying a tabindex greater as 0 make such elements unreachable.

Form elements (input, ...) shall be labeled, at least, with aria-label.

Replacing some div element with header, main, section, article and footer shall improve the accessibility.

The foldable parts (categorie, ,,,) may use the details and summary HTML elements with the advantage, that less javascript is necessary and more accessible.

Some People has a motor deficiency and are not able to use a mouse. For such people, focusable elements shall be optically shown if focused. For links, the default underlining for the text is a worse idea, there is not enough recognizable difference and the text may be less readable.

The color contrast for the default theme is poor and don't fulfill the WCAG requirement.

Steps to reproduce

Try to reach the various elements via the keyboard, this don't work.

Environment (complete as necessary)

  • Version/Git revision: 2.1.3
  • Database Type: not relevant
  • Database Version: not relevant
  • PHP Version: not relevant

Additional information/references

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions