Dexie is a great tool for persistently storing data in a #PWA context and today they finally released a way to sync that data without having to run your own servers: Dexie Cloud.
I’m planning on taking a deeper look at it next month, but I’m pretty excited for it! Tools like this could make side-projects that sync so much easier. 😊
I've been fighting with some code snippets to handle ad-hoc switching of a page's color scheme (light/dark) via a toggle button.
The behavior that I wanted is to default to the system preferred color scheme if no value is present in the site's local storage.
When the button is clicked, it stores the preference in local storage and that takes precendence over the system preferred color scheme. Thus, this allows you to continue to browse the site based on the selected color scheme.
The problem I ran into was that the state between the system preferred color scheme and the "default" would conflict and using the toggle button would sort of re-sync things. Well, at least until you reload the page and it breaks again.
The issue? The code snippet does not fetch the value set in local storage and sets the color scheme on init.
ok my fellow #eleventy geeks - i have a client that potentially wanna use 11ty but as he said "is it just a bunch of nerds building some webstuff"
I have offcourse smacked him with a stick and said "belive me its awesome(tm) it goes to 11" but is there any bs-promo-material or usecases besides of a ton of small blog like webprojects ?
Do you feel confident in your knowledge of the core accessibility considerations?
@iheni's latest blog post in the accessibility foundations series explores core considerations vital for designing and developing inclusive products and services. From animations to interactions to HTML semantics, this series serves as an essential starting point for designers and developers alike.
As the creator of #Symfony, our Silver Sponsor Sensiolabs offers official training courses on the framework. In this article, they talk about their new Symfony 7 training programmes > https://bit.ly/3VnScf1
I am currently working on #accessibility in #forgejo. And I discovered a problem with focus where it is not possible to navigate the page with "tab", a dropdown makes the focus skip to the end of the page and you end up in a loop.
Can someone recommend ways or tools to debug focus in webbrowsers? I have a hard time to see how the focus skips there. Any hints are welcome.
🎉 Excited to join the Mastodon network and connect with Django contributors! 🚀
I'm passionate about web development and thrilled to share my knowledge and learn from others. I look forward to contributing to the Django community by sharing tips, tutorials, and discussions on the latest trends and best practices.
💡 If you have advice or resources to share, feel free to send them my way. I'm always eager to learn and engage with you all.