[Sakai Jira] Commented: (SAKIII-4655) Display helpful error message when Javascript is disabled

Scot Hacker (JIRA) sakai-ui-dev-tracking at collab.sakaiproject.org
Fri Feb 24 14:18:17 PST 2012


    [ https://jira.sakaiproject.org/browse/SAKIII-4655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=150717#comment-150717 ] 

Scot Hacker commented on SAKIII-4655:
-------------------------------------

Just submitted a pull request. Notes:

- This required an indentation change in all files. The diffs may look scary at first even though the actual changes are small. 

- Because this is the noscript use case, the translation engine is not available to us, which is why you see english strings there. Without server-side template parsing, there is no way around this. The english strings may trigger test failures and require a test exception for noscript.

- I debated whether to make this pretty or just functional. Went with functional for now. Let me know if you want some design effort put into it.

- I didn't include an image in it because A) That would prob. have to be institution-specific and B) It would cause some browsers to do an extra image request on every page even when not using it.

- One file - search.html - would not display the noscript content with JS disabled. This turned out to be because of a missing closing div in that file. I added an extra closer, but am not positive it's in the optimal place.

> Display helpful error message when Javascript is disabled
> ---------------------------------------------------------
>
>                 Key: SAKIII-4655
>                 URL: https://jira.sakaiproject.org/browse/SAKIII-4655
>             Project: Sakai OAE UI Dev
>          Issue Type: Bug
>          Components: Accessibility, Core UI development
>    Affects Versions: 1.1.0
>         Environment: All
>            Reporter: Scot Hacker
>            Assignee: Scot Hacker
>            Priority: Trivial
>             Fix For: Unknown Future Version
>
>         Attachments: noscript1.mov
>
>
> Since we're 100% dependent on Javascript for content display, I think we need to display *something* to non-Javascript-enabled user agents. Right now we show a completely blank screen. I propose a noscript element on all views, which would contain perhaps a site logo and text as simple as "Sorry, you need a Javascript-enabled browser to use this site."  
> This also raises questions about accessibility to the blind and the fact that search engines will see nothing on the site, but that's a much larger discussion I'm sure you guys have chewed on thoroughly.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the sakai-ui-dev-tracking mailing list