![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
At test pages http://jsnet.sourceforge.net/elements.html and http://jsnet.sourceforge.net/entities.html I am also testing the noscript notification for some JavaScript intensive pages. Obviously to see it in action it is necessary to disable script support. |
|
My questions are: 1) overall styling observation as for a warning message |
|
2) any thoughts of how to add another option (besides "Hide this warning") to the warning window. |
#3
| |||
| |||
|
|
VK wrote: At test pageshttp://jsnet.sourceforge.net/elements.htmland http://jsnet.sourceforge.net/entities.htmlI am also testing the noscript notification for some JavaScript intensive pages. Obviously to see it in action it is necessary to disable script support. Jukka K. Korpela wrote: As a structure issue, the noscript element should appear first in the document body, when the page is completely script-dependent, as it is here (and hence the current wording of the noscript content is... an understatement). You should not rely on CSS to put the notification first, especially since in non-JavaScript browsing, CSS may well be unsupported or disabled - or page style sheet may be overridden by a user style sheet. |
|
My questions are: 1) overall styling observation as for a warning message I guess it's noticeable enough - when styled according to your stylesheet.. But maybe the situation would be clearer if the warning covered all of the canvas. Then there's no particular reason for strong colors - one could use just large font size and maybe reddish text color. 2) any thoughts of how to add another option (besides "Hide this warning") to the warning window. An "×" in a corner of a box is often used as a close button, but "Hide this warning" is clearer. An "×" may violate one of the basic rules of design: "Don't make me think". |
#4
| |||||||||
| |||||||||
|
|
Jukka K. Korpela wrote: As a structure issue, the noscript element should appear first in the document body, when the page is completely script-dependent, as it is here (and hence the current wording of the noscript content is... an understatement). You should not rely on CSS to put the notification first, especially since in non-JavaScript browsing, CSS may well be unsupported or disabled - or page style sheet may be overridden by a user style sheet. I do agree with the structural considerations but as often we have to accommodate proper considerations to the improper world :-) |
|
In the particular many search spiders (aka crawlers) are thaught to grab the first paragraph-like text from the top of the page for a content sample. |
|
As we don't want to have a page being presented in the search results as "Client-side scripting is disabled", "You need Flash Player installed", "MathML is not supported" etc. any service warning blocks have to go at least one text unit (better two for safety sake) down from the body. |
|
And to facilitate standard warning injection we are adding it after the main content just before the closing body tag. |
|
CSS may be disabled or overridden by custom CSS but it is a very particular situation requiring very explicit user actions, |
|
The one taking explicit steps to remove provided CSS styling has to be aware of all possible usability consequences (positive as negative) it implies, so in such case the ball is on the end-user side. |
|
Though it would be interesting to find a warning format for CSS disabled situations. |
|
Actually by "add another option" I meant to add another option besides "Hide this warning", say "How to enable client-side scripting" navigation link within the same block. |
|
I am also wondering if newer browsers with attribute selector support would let to display the warning in userAgent language based on lang="language code" attribute and hiding other language versions. |
#5
| |||
| |||
|
|
VK wrote: [snip] And to facilitate standard warning injection we are adding it after the main content just before the closing body tag. It's in a wrong place then. It's like giving lengthy instructions and then saying something crucial that should have been said in the first place. |
![]() |
| Thread Tools | |
| Display Modes | |
| |