Making WordPress.org

Opened 2 years ago

Last modified 8 months 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


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.

2 years ago

#2 @iandunn
2 years ago

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

#3 @iandunn
9 months ago

  • Owner iandunn deleted
  • Status changed from accepted to assigned

#4 @iandunn
8 months ago

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