Search
Items tagged with: webdevelopment
Seriously thinking about going back to a buildless dev cycle for my sites, which would mean ditching Jekyll.
I'm not going back to WordPress — my goal is to further *reduce* and cut on bloat and dependencies.
The idea is:
- local php via brew
- local apache via brew
- local ssl via brew
- sass (using Scout)
Then, I don't upload a build version of my HTML, I upload the native PHP code, the server would serve.
No database.
No plugins.
No Ruby.
No third-party dependency.
Okay, if you build a mini website for someone — 4 pages, mostly copy and a couple images — and you decide to use WordPress *and* Elementor, you should not be working in the web development industry. Leave now, and don't look back.
I can't see these things and keep quiet. These folks are part of the reason why I had to pivot to something entirely different. Since it still hurts, I'm going to mug you off for a while.
/rant
Niche mobile web development question
In #Friendica we have a couple links which click event is captured by a listener.
On desktop browsers, this works as expected and the underlying href attribute is ignored (unless clicked with the middle mouse button, which is expected).
On the #iOS #Safari app, this also works as expected. However, when I add Friendica as a home screen app, a click on these links triggers both the event listener and navigates to the href URL.
Does anyone know why web views behave differently and/or how to prevent the double action specifically in this context?
Please reshare/boost for reach!
I believe people on the #Fediverse are more likely to add alternative text to the images they post than on any other popular social media platform, that's great for #Accessibility. But it isn't the end-all-be-all of it. For example, when one of my contacts posts in German or Finnish or Farsi, I can copy the text and plug it in a translator to figure out what they meant.
However, when they share a picture including text in the same language, even if they transcribed the text in the picture in the alternative text attribute, I can't access it on mobile at all, and even on desktop I can't copy it from the default popup on mouse hover.
I tried to dabble with #CSS to reveal the alt-text attribute value using pseudo-content, but it doesn't work since we're dealing with an #HTML <img>
which is an empty element by definition. Is there any other way to expose this attribute value other than just parse the text in the post body directly?