Widgets: fix no-js and accessibility modes, props shaunandrews, fixes #26165.

git-svn-id: https://develop.svn.wordpress.org/trunk@26439 602fd350-edb4-49c9-b593-d223f7449a82