Accessibility - Photo moderation, allowed types, and filters

stromb0li

Active member
Affected version
XF 2.2
There are a couple of minor accessibility items that get flagged with the Gallery add-on.

1. Checkboxes for Moderation when listing Media items per WCAG 4.1.2. One of the following should be fixed to be compliant:
  • Form element does not have an implicit (wrapped) <label>
  • Form element does not have an explicit <label>
  • aria-label attribute does not exist or is empty
  • aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
  • Element has no title attribute
  • Element has no placeholder attribute
  • Element's default semantics were not overridden with role="none" or role="presentation"
2. On image upload, the "Allowed types" list element has direct children of span, which is not allowed per WCAG 1.3.1
3. The Filters section has 3 violations; missing select-name element per WCAG 4.1.2. One of the following should be fixed to be compliant:
  • Form element does not have an implicit (wrapped) <label>
  • Form element does not have an explicit <label>
  • aria-label attribute does not exist or is empty
  • aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
  • Element has no title attribute
  • Element's default semantics were not overridden with role="none" or role="presentation"
 
Top Bottom