aspireupdate/assets/js
Colin Stewart a5b4d0120d
Admin_Settings: Improve labels, descriptions and notice placement. (#384)
* Admin notices will now be announced using `wp.a11y.speak()`.

* Admin notices are now positioned near their triggering element.

* Labels, descriptions, and markup have been adjusted for better accessibility.

* Focus will no longer be moved when showing the 'other' field.

* The "Generate API Key" button is now a `button` element using core's secondary styling and dashicon.

* To simplify the 'Other' API host description, "http://" has been removed.

Validation still supports http:// and https://. However, any need for http:// is an exception. Removing the reference to http:// makes the description simpler and encourages good practice.

* Addendum: Several unused variables and debug code have been removed.
2025-05-28 00:03:50 +01:00
..
aspire-update.js Admin_Settings: Improve labels, descriptions and notice placement. (#384) 2025-05-28 00:03:50 +01:00