You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #1935@Gadgetoid complains that the new site is "a little bit completely broken without Javascript" which I was kinda surprised by.
So I gave it a try myself with JS turned off, and it seems that https://www.raspberrypi.org/documentation/ works okay (with the exception of the search box, because that's entirely implemented by javascript), https://www.raspberrypi.org/documentation/accessories/ works okay, and the contents of e.g. https://www.raspberrypi.org/documentation/accessories/display.html works okay.
AFAICT it seems that the only bit that doesn't work is the exapanding and collapsing of sections in the Table of Contents on the left? Perhaps we should tweak things so that if JS is disabled, the ToC is fully-expanded rather than being fully-collapsed?
The text was updated successfully, but these errors were encountered:
And the left-hand navigation looked "complete" ish (I wasn't aware of the drop down menu at this point) but clicking the links did nothing so it felt like I'd been dropped on a looooonnng page with now way to navigate it. Yes... I'm the kind of difficult pedant who browses the web with javascript disabled by default.
As @lurch suggests, I'd recommend a "progressive enhancement" approach whereupon the submenus are always enabled - ie: not hidden by default with the CSS - and only hidden by javascript at runtime. This usually happens fast enough that you don't get a surprising flash of expanded menus.
style.css line ~207 shows these submenu items require a "hidden" class in order to be hidden, so just removing that from the HTML and adding it at runtime with JS would suffice:
In #1935 @Gadgetoid complains that the new site is "a little bit completely broken without Javascript" which I was kinda surprised by.
So I gave it a try myself with JS turned off, and it seems that https://www.raspberrypi.org/documentation/ works okay (with the exception of the search box, because that's entirely implemented by javascript), https://www.raspberrypi.org/documentation/accessories/ works okay, and the contents of e.g. https://www.raspberrypi.org/documentation/accessories/display.html works okay.
AFAICT it seems that the only bit that doesn't work is the exapanding and collapsing of sections in the Table of Contents on the left? Perhaps we should tweak things so that if JS is disabled, the ToC is fully-expanded rather than being fully-collapsed?
The text was updated successfully, but these errors were encountered: