Problem/Motivation

The Commerce Recurring module's Views configurations for subscriptions use table displays that lack accessible names. Screen reader users cannot determine the purpose of these tables without descriptive captions.

Views affected:

  • `commerce_subscriptions` - Admin subscriptions list (/admin/commerce/subscriptions)
  • `commerce_user_subscriptions` - Customer subscriptions page (/user/[uid]/subscriptions)
  • `commerce_subscription_orders_admin` - Admin subscription orders
  • `commerce_subscription_orders_customer` - Customer subscription orders
  • `commerce_subscription_initial_order_admin` - Initial order display

All these views have empty `caption`, `summary`, and `description` fields in their table style configuration.

WCAG Violation

4.1.2 Name, Role, Value (Level A): Data tables should have accessible names so screen readers can announce what data the table contains.

Steps to reproduce

  1. Navigate to admin subscriptions page (/admin/commerce/subscriptions)
  2. Navigate to user subscriptions page (/user/[uid]/subscriptions)
  3. View individual subscription pages to see subscription orders
  4. Using a screen reader (NVDA, VoiceOver, JAWS), verify that each table is announced with its caption

Proposed resolution

Add meaningful caption, summary, and description values to the table style options in each View configuration:

  • commerce_subscriptions
  • commerce_user_subscriptions
  • commerce_subscription_orders_admin
  • commerce_subscription_orders_customer
  • commerce_subscription_initial_order_admin

Comments

alex ua created an issue. See original summary.

alex ua’s picture

Here's a patch. Thanks to Claude Code for the assist!