[wp-trac] [WordPress Trac] #40982: Permalink Settings: custom structure field keyboard trap

WordPress Trac noreply at wordpress.org
Mon Jul 10 23:15:30 UTC 2017


#40982: Permalink Settings: custom structure field keyboard trap
-----------------------------------+----------------------------
 Reporter:  afercia                |       Owner:  afercia
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  4.8.1
Component:  Administration         |     Version:
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch fixed-major  |     Focuses:  accessibility
-----------------------------------+----------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41024"]:
 {{{
 #!CommitTicketReference repository="" revision="41024"
 Accessibility: Avoid a keyboard trap on the permalink custom structure
 setting.

 Using the `focus` event on the permalink custom structure field made
 impossible
 to navigate through all the form fields using only the keyboard without
 actually
 selecting the custom structure setting. Instead, using click and input
 preserves
 the original functionality when using any kind of pointing or input
 device.

 Also changes `attr()` to `prop()` as recommended for a `checked` property.

 Props afercia.
 Fixes #40982.

 Merges [40897] to the 4.8 branch.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40982#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list