Zum Inhalt der Seite gehen

Suche

Beiträge, die mit Frontend getaggt sind


#Development #Inspirations
Creative ways to mess with AI bots · How website owners can safeguard their content https://ilo.im/1622bj

_____
#AI #AiBots #Bots #Protection #Content #Blog #Website #WebDev #Frontend #Backend


Ich habe jetzt einen Tag etwas mit #Iceshrimp gespielt. Es gibt ein paar Merkwürdigkeiten. Zum einen scheint es ziemlich leicht zu passieren, dass die Darstellung der Home-Timeline durcheinanderkommt und Posts doppelt, dreifach, vierfach beim Navigieren mit k und j gelesen werden. Nur ein Refresh im Browser korrigiert es, bis es eben wieder passiert. Das scheint vor allem dann zu passieren, wenn man aus der TL heraus ein Profil aufruft, in die Einstellungen geht und daraus zurückkehrt usw. Ein festes Muster habe ich nicht gefunden, ist aber irritierend.

Ein weiteres ungewöhnliches Verhalten ist, dass, wenn ich meinen Lieblings-Client für iOS und MacOS, Mona, mit meinem Account verbinde, dass ich alle Replies von denjenigen, denen ich folge, ausgeliefert bekomme. Also nicht nur die an gemeinsame Followings, sondern auch die an alle, denen ich nicht folge, die aber zumindest ungelistet oder öffentlich sind. Bei meinem primären Server, der Mastodon laufen hat, sehe ich in der Timeline im Browser und in Mona nur die Replies an Leute, denen ich auch folge. Im Browser in Iceshrimp, wo ich "Zeige Replies in der Timeline an" ausgeschaltet habe (bzw. das wohl standardmäßig so war), passiert das nicht, es passiert nur, wenn Mona die Timeline per API abruft.

Was mir positiv auffällt: Sowohl in den Commits der aktuellen stabilen JS-Version als auch in dem komplett neu geschriebenen Server auf .NET-Basis sehe ich fürs Front-End viele viele Commits, die sich mit der Verbesserung der Barrierefreiheit beschäftigen. Das macht viel Mut, dass hier schon bei der Entwicklung ein Fokus drauf liegt. Also ein großes Dankeschön an das Team!

Es gibt einige kleinere Probleme in der Fokus- und Tastaturbehandlung. So hört man mit ScreenReader z.B. nicht, wenn man ein Profil anklickt, dass sich ein Popover geöffnet hat, in dem man mit dem Profil interagiert. Und auch die Fokustransitionen aus Popovern heraus zurück zu dem Punkt, von wo man gestartet ist, funktionieren oft nicht sauber. Man sucht also öfter den Punkt, an dem man war, um z.B. die Timeline weiterzulesen.

Als nächstes werde ich mir mal dieses Drive anschauen, aber vermutlich erst morgen.

#accessibility#frontend#ScreenReader#Barrierefreiheit


Du suchst eine spannende Herausforderung neben Deinem Informatik-Studium?

Dann werde Werkstudent:in im Bereich #Frontend / #Webentwicklung an unserem Institut!
💻 💼

Klingt interessant? Dann bewirb' Dich jetzt und werde Teil unseres Teams: 👉🏼 https://jobs.fraunhofer.de/job/Berlin-Werkstudentin-Frontend-Webentwicklung-10589/1161386001/

#Job #ITjobs #Werkstudent #Werkstudentin #Wirvernetzenalles
Eine Grafik, die auf der linken Bildseite eine gezeichnete Mitarbeiterin von Fraunhofer FOKUS zeigt. Sie sagt in einer Sprechblase "Mach mit uns aus Datenchaos Wissensnetze!". Auf der rechten Bildseite steht der Satz "Jetzt bewerben!" und darunter "Werde studentische*r Mitarbeiter*in am Fraunhofer FOKUS! Wir vernetzen alles."


#Development #Guidelines
Rules for writing software tutorials · Crafting a great tutorial is easier than you think https://ilo.im/161nru

_____
#Software #Tutorials #Terminology #CodeSnippets #Content #Blog #WebDev #Frontend #Backend


The other day I wrote an in-depth article explaining how to create an accessible, expandable (bare bones) navigation with a fallback, in case #JavaScript isn't working.

Today I explained why you shouldn't put a giant table inside an image without #AltText for a #blog because it's "quick & easy", but rather invest time building a custom component to solve this. It has been decided to do it "quick & easy" 🫠

#a11y #WebDev #frontend


"As a web developer, you constantly work with text. And you will often make decisions on how this text will look, especially if you work without a designer. Even if you don't notice those choices, they are still here. And, frankly, some of you make bad choices.

In this guide, we'll go over key typography settings and learn how we can manipulate them with CSS to make text on your apps and websites look good by default. This tutorial will be useful for developers that want to get 80% of results with 20% of efforts, without diving head first into typography. It might come handy for people who are already good with typography but didn't work with web closely and want to quickly learn CSS equivalents of familiar concepts.

This article won't cover choosing a particular typeface for your projects or their classification. It will, however, cover what format your font should be in. Additionally, it won't cover topics related to the proper choice of quotes or when to use hyphens versus em dashes. But if you're interested in this kind of stuff, I really recommend Butterick's Practical Typography.

Instead, we'll concentrate on general adjustments to make text good-looking and easy to read, and more specifically, what CSS rules you'll need for that.

Lastly, remember that in design, rules can take you far, but you shouldn't be afraid to break them. Today I'll share some rules and recommendations, but that doesn't mean you can't do things the other way. If you're confident about your choice – please, break the rule! But if you're not sure – stick to sensible defaults."

https://sinja.io/blog/web-typography-quick-guide

#Typography #WebDev #WebDevelopment #WebDesign #FrontEnd #WebTypography #Design


TIL `box-decoration-break`

> ... specifies how an element's fragments should be rendered when broken across multiple lines, columns, or pages.

My use case: back-ground effects applied to text 'chopped' when the text wrapped. Using `box-decoration-break: clone` gave desired effect

Only supported for inline elements though! `-webkit` variant required for now!

#CSS #design #frontend

(P.S. I'd sure be glad for upvotes on my SO answer so I can just comment next time https://stackoverflow.com/a/77272442/10282058 🙏 )
Title text has an aquamarine background with rounded corners. However, because the view is on mobile, the title is wrapped onto three lines. Where the text is wrapped, there is no padding, leading the the background starting and stopping exactly where the text starts and stops. Additionally, the intermediary corners are sharp.
The same title text and background, wrapped onto three lines, except here the padding is conserved and the corners are rounded at the additional sections.