[wp-trac] [WordPress Trac] #49714: Explore UI for destructive controls & contexts

WordPress Trac noreply at wordpress.org
Mon Jul 24 11:18:50 UTC 2023


#49714: Explore UI for destructive controls & contexts
-------------------------------------------+-------------------------------
 Reporter:  joedolson                      |       Owner:  Travel_girl
     Type:  enhancement                    |      Status:  assigned
 Priority:  normal                         |   Milestone:  6.4
Component:  Administration                 |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  needs-patch needs-screenshots  |     Focuses:  ui,
                                           |  accessibility
-------------------------------------------+-------------------------------

Comment (by Travel_girl):

 I have started a Github Repro, as I find it is the best way, to document
 in an transparent and accessible way.

 The Repro is: https://github.com/00travelgirl00/-Explore-UI-for-
 destructive-controls-contexts-

 @joedolson could you please give me some feedback, if the information in
 the docs are okay and if I should continue or change somehing? At the
 moment I have followed information included:

 Menu-Item / Post
 Where: /wp-admin/edit.php?post-action=trash

     Behavior:
         Default: color: #b32d2e; border: none;
         :hover color: #b32d2e; border: none;
         :focus color: #b32d2e; box-shadow: 0 0 0 1px #4f94d4,0 0 2px 1px
 rgba(79,148,212,.8); outline: 1px solid transparent;
         additional warning: no
     Details:
         Link-Text / Button Text: Trash
         css-class: a class="submitdelete"
         Aria-Label: aria-label="Move “TablePress Test” to the Trash"
     Screenshot / Video:


 I'm thinking about also providing informations on contrast ratio. But that
 would also mean much more work.

 Also is the css-code a good way for the documentation? I find it more
 specific and it is easier to catch. But maybe its harder to read?

 What do you think? Thanks in advanced

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


More information about the wp-trac mailing list