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
working without JS enabled is useful for searchbots, but also for having a working site while your phone is working.
It looks like components don't try as hard as they could to work without JS.
Disable JS and look at the Accordion component for example, it doesn't do anything. Compare that with https://daisyui.com/components/accordion/, which uses radio inputs to manage the state in a html-friendly way.
Proposed Solution or API
For each interactive component, try to make it work as much as possible without JS enabled.
Additional Information
Maybe this is not a project goal, since everything is done via state machines which need JS enabled anyway?
If it is a goal, it might be that several components that have state machines attached now, should instead be using the DOM state.
This discussion was converted from issue #1138 on July 07, 2023 21:43.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description
working without JS enabled is useful for searchbots, but also for having a working site while your phone is working.
It looks like components don't try as hard as they could to work without JS.
Disable JS and look at the Accordion component for example, it doesn't do anything. Compare that with https://daisyui.com/components/accordion/, which uses radio inputs to manage the state in a html-friendly way.
Proposed Solution or API
For each interactive component, try to make it work as much as possible without JS enabled.
Additional Information
Maybe this is not a project goal, since everything is done via state machines which need JS enabled anyway?
If it is a goal, it might be that several components that have state machines attached now, should instead be using the DOM state.
Beta Was this translation helpful? Give feedback.
All reactions