No-Javascript support for Forgejo #239
Labels
No labels
User research - Accessibility
User research - Blocked
User research - community
User research - Config (instance)
User research - Errors
User Research - Filters
User Research - Git workflow
User Research - In the Future
User Research - Labels
User Research - Moderation
User Research - Needs Input
User research - Notifications/Dashboard
User Research - Repo creation
User Research - Repo Units
User Research - security
User Research - Settings (in-app)
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Reference
forgejo/discussions#239
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Repeatedly, we get requests from users who ask for supporting browsers without Javascript for various reasons. Sometimes they come as "bug reports", sometimes as "feature requests", but it doesn't really matter.
Many in the Forgejo community would like to rely less on Javascript, not only for "idelogical" reasons (i.e. not wanting to run Javascript), but for reasons such as performance and accessibility, too.
I propose the following to classify requests by users:
The latter means that we might, some day, allow navigation without or with less Javascript. But it's not an active issue.
Some related issues (there are a lot more, but you can get an idea):
I can outline some concrete goals for moving towards no-JavaScript support:
A lot of this can be accomplished simply by editing the template files and some CSS. I would say this already fixes 90% of the functionality. Honestly Forgejo already works quite well without JavaScript, so it shouldn't be too much work. I'm not too familiar with the internals of Fomantic-UI, so maybe I'm missing something.
It is a lot of work, but you are invited to contribute.
You can take a look at some related work in forgejo/forgejo#4995 and forgejo/forgejo#5031 which took about one week to complete. It's manageable to contribute one-time, but focusing on this effort will take a lot of weeks to convert UI elements and menus into semantic HTML one-by-one.
forgejo/forgejo#5346 could be a good issue as a starter. It still requires writing some Javascript to ensure the existing links work (ideally including the GitHub compatibility in the linked PR), but it's probably a manageable task.
But it is only one, among many.