Fix Accessibility warnings by missing labels in Widget table cells

Created on 4 April 2022, about 2 years ago
Updated 19 June 2024, 9 days ago

This patch adds labels to Day elements to prevent accessibility (a11y) issues.

πŸ› Bug report
Status

Fixed

Version

1.7

Component

Code - widget

Created by

πŸ‡ΊπŸ‡ΈUnited States EthanT Sarasota, Florida

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

    • johnv β†’ committed 6f939cc7 on 8.x-1.x
      Issue #3273363: Fix Accessibility warnings by missing labels in Widgets
      
  • Status changed to Fixed over 1 year ago
  • πŸ‡³πŸ‡±Netherlands johnv

    Added some additional labels in the widgets.

  • Status changed to Postponed: needs info over 1 year ago
  • πŸ‡³πŸ‡±Netherlands johnv

    Please test the resulting code in Dev-version or the upcoming 1.8 version, and report back.

    Perhaps the labels are not fluent, should be translated(?), or duplicate the element.
    For instance, I see the hours are marked in the browser with 'no-label'.
    The weekdays may not need a label, either. Of so. not sure how to accomplish that.
    The above patch removes the warnings b Chrome DevTools:
    "Accessibility: Form elements must have labels: Element has no title attribute Element has no placeholder attribute"

  • Status changed to Fixed 9 days ago
  • πŸ‡³πŸ‡±Netherlands johnv

    Let's close this, assuming current code is up-to date for the requested functionality.

Production build 0.69.0 2024