Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Apr 18, 2019

Commits on Apr 13, 2019

  1. Adds and fixes labels for video.tpl inputs

    According to the WCAG success criterias 1.3.1 (Info and relationships),
    3.3.2 (Labels or Instructions) and 4.1.2 (Name, Role, Value), labels
    or instructions are required when content requires user input.
    
    The bit rate label was replaced by a real label announcing the purpose
    of the text input _Custom bitrate_. The existing unit indication is now
    using a `<span>` attribute and it is linked to the input using an
    `aria-describedby` attribute.
    
    Also, the lack of label for the format conversion selectbox is fixed
    by using a specific `aria-label` attribute.
    
    Resources:
    - https://www.w3.org/TR/WCAG21/#labels-or-instructions
    - https://www.w3.org/TR/WCAG21/#info-and-relationships
    - https://www.w3.org/TR/WCAG21/#name-role-value
    - https://www.w3.org/TR/WCAG20-TECHS/H44.html
    - https://www.w3.org/WAI/WCAG21/Understanding/labels-or-instructions.html
    - https://www.w3.org/TR/WCAG20-TECHS/ARIA1.html
    hiwelo committed Apr 13, 2019
  2. Improves a11y of password protected video form

    According to the WCAG success criterias 1.3.1 (Info and relationships),
    3.3.2 (Labels or Instructions) and 4.1.2 (Name, Role, Value), labels
    or instructions are required when content requires user input.
    
    To do so, this commit adds a label for the password input and hide it
    with a CSS visually-hidden method to not alter the design.
    
    Resources:
    - https://www.w3.org/TR/WCAG21/#labels-or-instructions
    - https://www.w3.org/TR/WCAG21/#info-and-relationships
    - https://www.w3.org/TR/WCAG21/#name-role-value
    - https://www.w3.org/TR/WCAG20-TECHS/H44.html
    - https://www.w3.org/WAI/WCAG21/Understanding/labels-or-instructions.html
    - https://gomakethings.com/hidden-content-for-better-a11y/
    hiwelo committed Apr 13, 2019
  3. Adds a label to audio options inputs

    According to the WCAG success criterias 1.3.1 (Info and relationships),
    3.3.2 (Labels or Instructions) and 4.1.2 (Name, Role, Value), labels
    or instructions are required when content requires user input.
    
    To do so, this commit adds a label for the "From" and the "To" inputs
    displayed when a user chose to get the audio of a file only.
    
    Resources:
    - https://www.w3.org/TR/WCAG21/#labels-or-instructions
    - https://www.w3.org/TR/WCAG21/#info-and-relationships
    - https://www.w3.org/TR/WCAG21/#name-role-value
    - https://www.w3.org/TR/WCAG20-TECHS/H44.html
    - https://www.w3.org/WAI/WCAG21/Understanding/labels-or-instructions.html
    hiwelo committed Apr 13, 2019
  4. Adds a label to social sharing links

    According to the WCAG (success criterias 2.4.4 and 4.1.2), the purpose
    of each link should be determined from the link text alone or from the
    link text together with its programmatically determined link context.
    
    In this case, because there is no text content, we are using
    `aria-label` to have an explicit purpose announced to users of
    assisting technologies.
    
    Resources:
    - https://dequeuniversity.com/rules/axe/3.2/link-name
    - https://www.w3.org/TR/WCAG21/#link-purpose-in-context
    - https://www.w3.org/TR/WCAG20-TECHS/ARIA8.html
    hiwelo committed Apr 13, 2019