Open whyisjake opened 4 years ago
I'd personally use sentence case, but… why not. In any case, we need to fix this inconsistency :)
I wonder if we should use this UI element for the table view.
☝️could be auto-updates disabled
👇 could be auto-udpates enabled
With regard to buttons vs links, I don't know if the same reasoning should apply here (tho I suspect it would), but prior to 5.4 the Privacy tools (which are also list tables) had buttons in their "Next Steps" column. Those were changed to links (visually) in 5.4 on recommendation from the design team.
See trac ticket #49323.
@audrasjb I just did some checking and if using <button class="button-link">
would be better for a11y (which is what the Privacy tools mentioned above use) we can switch to that with only minor mods to wp_autoupdates_plugins_enabler() and wp_autoupdates_themes_enabler() (for non JS-enabled browsers) and the click handler in the JS for Ajax.
It is pretty late in the game to be making a change like that, but if it is better for a11y, I suspect it will also come up on the core merge patch. So, we might as well do it in the plugin as well.
Yeah, I don't think this should be a blocker for the core merge, but should at least be brought up and get design-feedback
on. Thanks for the links @pbiron. Great context.
There is an audit /wp-admin ticket #49616 about sentence-case UI elements.
I think we are being pretty deliberate, but I think we might want to change a few things to enforce uppercase (@audrasjb commented about how all Americans want to capitalize everything...)
👆This does seem to follow titlecase, but I think we should be using uppercase for these string. Looks better in the prominent area of the page.
☝️Kinda feel the same here. This isn't a sentence, I almost wonder if this should be a button or dropdown to ensure that people know this is a UI element. The JS actions here can be almost invisible, so ensuring that this looks and behaves like a button might be in our best interest. Toggle? Radio? Checkbox???
☝️ Bulk Actions is the headline for the dropdown, but I think we should follow and make that string uppercased too.