Opened 11 years ago
Closed 10 years ago
#33250 closed defect (bug) (fixed)
Customizer Preview iframe: remove the html loading title attribute
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.4 | Priority: | normal |
| Severity: | normal | Version: | 4.2 |
| Component: | Customize | Keywords: | has-patch |
| Focuses: | ui, accessibility, javascript | Cc: |
Description
Noticed while testing the Customizer. Sometimes a "Loading ..." title attribute gets added to the html element, for example when checking a Menu Location checkbox:
I'd say it's hardly noticeable and wondering if really useful. If the intent is to show a loading indicator, there are probably better ways to do it. Considering also #24766 would probably make sense to remove this and clean up a bit.
Attachments (3)
Change History (11)
#1
follow-up:
↓ 2
@
11 years ago
- Keywords has-patch added; needs-patch removed
Do we need to remove the localized variable?
'l10n' => array(
'loading' => __( 'Loading ...' ),
),
#2
in reply to:
↑ 1
@
11 years ago
Replying to mehulkaklotar:
Do we need to remove the localized variable?
Yes, if it's not used anywhere else :) Sorry, haven't had time to check.
This ticket was mentioned in Slack in #core-customize by afercia. View the logs.
10 years ago
#6
@
10 years ago
- Focuses accessibility added
- Keywords needs-refresh added
- Milestone changed from Awaiting Review to 4.4
- Type changed from enhancement to defect (bug)
As @ocean90 pointed out, it would be nice to use wp.a11y.speak() to give screen reader users some audible feedback while loading the preview. Changing type to "bug" and moving it into 4.4.
#7
@
10 years ago
- Keywords needs-refresh removed
Looked a bit into this, I think it would be possible to dispatch a "speak" message from api.Previewer.refresh() but there's always the chance it will be overridden by other messages, for example when moving down/up a widget, etc. I'd rather keep it simple and stick to the original ticket goal.

Removed html title attribute update on loading and preview.