WordPress.org

Making WordPress.org

Opened 22 months ago

Last modified 6 weeks ago

#1591 assigned defect

CampTix Ticket shortcode form field accessibility

Reported by: GaryJ Owned by:
Milestone: Priority: normal
Component: WordCamp Site & Plugins Keywords: needs-patch, good-first-bug, accessibility
Cc:

Description

The shortcode that outputs the tickets details (like https://2016.london.wordcamp.org/tickets/) needs updating. As things currently stand, screen readers have little idea what the fields relate to, since no labels are associated with them.

Suggestion - the ticket name changes from e.g.:

<strong class="tix-ticket-title">Whitechapel Road</strong>

to something like:

<label for="tix_tickets_selected[1556]" class="tix-ticket-title">Whitechapel Road<span class="screen-reader-text"> tickets</span></label>

and the corresponding quantity select opening tag becomes:

<select name="tix_tickets_selected[1556]" id="tix_tickets_selected[1556]">

Instead of now just saying "zero" for each field (amongst identifying it as being a pop-up, in a table etc.), it will now be more likely to say "Whitechapel Road tickets, 0", "Regent Street tickets, 2" etc.

Change History (4)

This ticket was mentioned in Slack in #accessibility by garyj. View the logs.


22 months ago

#2 @iandunn
22 months ago

  • Keywords good-first-bug added
  • Owner set to iandunn
  • Status changed from new to accepted

#3 @iandunn
2 months ago

  • Owner iandunn deleted
  • Status changed from accepted to assigned

#4 @iandunn
6 weeks ago

  • Keywords accessibility added
Note: See TracTickets for help on using tickets.