Opened 10 years ago
Closed 10 years ago
#28830 closed defect (bug) (fixed)
Media Grid: No-JS fallback
Reported by: | helen | Owned by: | helen |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 4.0 |
Component: | Media | Keywords: | needs-patch |
Focuses: | administration | Cc: |
Description
Right now you get a blank screen, which is not acceptable. We need the header with Add New link and a link back to the list mode at the very least. Mode is sticky, so it should only happen once.
See #24716
Attachments (4)
Change History (17)
This ticket was mentioned in IRC in #wordpress-dev by helen. View the logs.
10 years ago
#3
@
10 years ago
- Version set to trunk
Or:
<div class="error hide-if-js"> <p><?php _e( 'Media Grid requires enabled JavaScript. Switch to <a href="upload.php?mode=list">table listing</a>.' ); ?></p> </div>
#4
follow-up:
↓ 5
@
10 years ago
Re: the exact wording, "Media Grid" will read jargony to the typical user. How about "The media grid view" instead?
#5
in reply to:
↑ 4
@
10 years ago
Replying to ericlewis:
Re: the exact wording, "Media Grid" will read jargony to the typical user. How about "The media grid view" instead?
I agree. Perhaps something like this?
The media grid view requires JavaScript to be enabled. Switch to the table listing.
#7
@
10 years ago
To minimize support questions on enabling JavaScript it could be like this
<div class="error hide-if-js"> <p><?php _e( 'The media grid view requires JavaScript to be enabled.' ); ?></p> <ol> <li><a href="upload.php?mode=list"><?php _e( 'Switch to the table listing.' ); ?></a></li> <li><a href="http://www.enable-javascript.com/" target="_blank"><?php _e( 'Enable JavaScript in your web browser.' ); ?></a></li> </ol> </div>
#9
@
10 years ago
Yes good one, I thought about it too, but if he has disabled JavaScript he should be noticed that the usage experience would degrade without JS. That's why I added the second link. Educate the visitor a bit :)
But meta http redirect can be timed, so should we add that with a 3 sec timeout? But in this scenario we might confuse the visitor with error message and then redirecting him.
#10
@
10 years ago
I would not add a timed redirect. The user needs time to read the error message and decide what they want to do.
<noscript> solution