Wedge

Public area => The Pub => Features => Topic started by: Arantor on February 14th, 2012, 02:31 AM

Title: Requiring JS in the admin panel
Post by: Arantor on February 14th, 2012, 02:31 AM
I'm not sure if we talked about this or not, but I'm seriously debating enforcing JS to be present for the admin panel. While I can understand non-JS fallbacks for the normal forum, I'm less clear on it in the admin area, though I can see the argument in favour of accommodating screen readers etc. But even there I'm kind of thinking that it might be better to use JS primarily and not have the fallbacks, because I'm just thinking that there's no good way the admin panel can work for non-sighted users, there just isn't.

Thoughts?
Title: Re: Requiring JS in the admin panel
Post by: Norodo on February 14th, 2012, 02:51 AM
The only people who could have any sort of issue with this would be as you mentioned people using screen readers. Now I have no numbers on this, but in my head, people with screen readers do not seem like likely people to set up forams. Even if there is the odd one around, it depends on the javascript you are using and what the screen reader is capable of. Some of them can handle JS to some extent. And even if it can't, sometimes people can ask for help too. :)
 
TL;DR: Go for it.
Title: Re: Requiring JS in the admin panel
Post by: Nao on February 14th, 2012, 07:11 AM
I suppose blind admins will care little about the eye candy of Wedge anyway so I'd probably advise them to use SMF...
Title: Re: Requiring JS in the admin panel
Post by: live627 on February 14th, 2012, 07:17 AM
Wait, when was Wedge about the eye candy? :P
Title: Re: Requiring JS in the admin panel
Post by: Nao on February 14th, 2012, 07:47 AM
I'm eye candy to begin with!
Title: Re: Requiring JS in the admin panel
Post by: live627 on February 14th, 2012, 08:21 AM
* puts candy in eye "Ooh, eye candy, so purdy!"
* Tries to remove it "Oh it's sticky. And it hurts!"



...actually, I wonder if some dumb kid has done that.
Title: Re: Requiring JS in the admin panel
Post by: Arantor on February 14th, 2012, 08:23 AM
Probably in America, after all Ralph Wiggum had to be based on something...
Title: Re: Requiring JS in the admin panel
Post by: live627 on February 14th, 2012, 08:27 AM
lmao

Eddie: Sorry, Chief, we found Ralph with your candy.
Wiggum: I need to maintain my size 56!
Title: Re: Requiring JS in the admin panel
Post by: Nao on February 14th, 2012, 08:36 AM
Quote from Arantor on February 14th, 2012, 08:23 AM
Probably in America, after all Ralph Wiggum had to be based on something...
Like Moe is based on Rich Hall?
Title: Re: Requiring JS in the admin panel
Post by: Arantor on February 14th, 2012, 08:47 AM
Yup, something like that, but less about a specific person.
Title: Re: Requiring JS in the admin panel
Post by: Arantor on February 26th, 2012, 06:15 PM
Anyway, back on topic for a moment. There is now at least one area that specifically requires JavaScript in the ACP (moderation filters)

Should there be a nice warning at the top, obviously hidden for JS users, indicating that things may not work properly or at all in the ACP for non JS users?
Title: Re: Requiring JS in the admin panel
Post by: Dr. Deejay on February 26th, 2012, 06:30 PM
Quote
Should there be a nice warning at the top, obviously hidden for JS users, indicating that things may not work properly or at all in the ACP for non JS users?
Aye, definitely
Title: Re: Requiring JS in the admin panel
Post by: Nao on February 26th, 2012, 08:16 PM
I don't know. Are there that many people not using JS? And among them -- how many are technical-minded?
Title: Re: Requiring JS in the admin panel
Post by: Arantor on February 26th, 2012, 08:20 PM
I don't think it's *that* important but I figured I show ask. We did it in SimpleDesk, but we did it throughout SD rather than just the admin area.
Title: Re: Requiring JS in the admin panel
Post by: Norodo on February 26th, 2012, 08:21 PM
It seems like a small effort with few drawbacks, so I can't see why not.
Title: Re: Requiring JS in the admin panel
Post by: Arantor on March 10th, 2012, 01:27 PM
OK, I'll add this in a bit (hopefully later today depending on how things work out). My plan of action is to do as I did in SimpleDesk, create a new template block with the <noscript> message (and an icon, just for the sake of nicety) and inject it into the skeleton above all the content.