Search

Items tagged with: html


Using <fieldset> without a <legend> (or using another method for an accessible name) is useless as its semantics are not conveyed to screen reader users. You may as well use <div style="border: 1px solid">

#a11y #webDev #HTML


šŸ¤”HTML semantics: <abbr> theory versus abbreviation reality

"The HTML <abbr> element is deceptively familiar and attractive, its been around forever (1999) and thus people assume that it does what it does and does it well. Nothing much changed over the iterations of the abbr element definition over the years."

#a11y #webdev #HTML

tpgi.com/short-note-the-abbrevā€¦


I disagree with use cases that rely on CSS, generally at risk from network interruptions and caching, to trigger programmatic state changes in the HTML that references it (see pic). Cart / horse and all.

Instead, use CSS to ensure your programmatic state is correct. Eg: adrianroselli.com/2021/06/usinā€¦

#a11y #accessiblity #css #html


#html




Sensitive content


New year, new role @Mastodon!

Our core team is looking for a senior Front-end Developer to elevate the web UI/UX experience for our users.

Ideally:

1. You are highly skilled in accessible and semantic #HTML
2. Proficient in modern #CSS
3. Experienced with #Javascript, #Typescript and complex React/Redux applications

This remote full-time position requires a 4-hour overlap with the CET timezone.

For more info/to apply:
jobs.ashbyhq.com/mastodon/6a09ā€¦

#FediHire #GetFediHired #hiring #frontend



Your eyes havenā€™t bled from bad markup until theyā€™ve glanced upon an ePUB exported from InDesign.

#ePub #markup #InDesign #XHTML #HTML




The four most popular ways to use RDF-based metadata on websites are RDFa-Core, RDFa-Lite, Microdata, and inline JSON-LD.

I canā€™t use RDFa-Lite because I need rel HTML attributes. rel silently upgrades RDFa-Lite to RDFa-Core, which parses differently. I doubt all parsers upgrade correctly; some will try to parse RDFa-Core as RDFa-Lite. Conformant RDFa parsers upgrade RDFa-Lite pages to RDFa-Core despite many authors only being familiar with RDFa-Lite. I suppose resources like Schema.org and Googleā€™s documentation only documenting RDFa-Lite markup worsens the confusion. Update 2024-12-16: Sarven Capadisli has clarified on the Fediverse that this is the behavior of one faulty parser; rel only triggers an upgrade when used with an RDFa namespace. I may re-evaluate RDFa.

With RDFa split between two incompatible alternatives with a confusing upgrade mechanism, the alternatives are Microdata and JSON-LD. I use structured data extensively; JSON-LD would duplicate most of the page. Letā€™s use this relatively short article as an example. Exruct can convert the embedded Microdata into a massive JSON document featuring JSON-LD. Take a look at the JSON-LD and HTML side by side. Microdata attributes take a fraction of the footprint, encode the same information, and donā€™t require duplicating nearly the entire page.


Originally posted on seirdy.one: See Original (POSSE). #Microdata #SemanticWeb #RDFa #HTML


I don't know how many times we have to say this. Last I counted it was 1.2 million times and almost 20 years.

"Developers should always prefer using the correct semantic HTML element over using ARIA."

developer.mozilla.org/en-US/doā€¦

#webdev #javascript #html #webdevelopment #a11y #aria


Good morning #fediverse !

I'm feeling #KISS today...

Ā« Keep
IT
Simple
Stupid Ā»

(Amazing, how many things you can do with just simple,

#html
+
#css
+
#javascript

cc @cferdinandi ... who amongst others, inspired me , thX


Can anyone recommend an accessible course to learn html? It must work with NVDA. I've heard of Code Camp and W3Schools, but how accessible are they and how do they differ in content and style? I like courses with a structured approach, where things are explained i.e. a deductive and not an inductive approach. I usually don't need a tutorial, but I am fine with general instructions. In this case, though, exercises would be very beneficial. I am using this prior to beginning Part 2 of the Web Developer's course at Deque. I am not a developer, but they don't have one for accessibility testers.

#accessibility #blind #blindness #computing #DequeUniversity #html #learning #NVDA #programming #screenreaders #W3Schools






I'm surprised it's that high. "2024: 0.5% of the Global Top 200 Websites Use Valid HTML" meiert.com/en/blog/html-conforā€¦ #html #webdev #webdevelopment


Not so short note on aria-label usage ā€“ Big Table Edition

ā€œaria-label is one of a number of secondary methods to label native HTML UI elements. It works particularly well on interactive elements, it also works well on most block level elements old skoolterm that have explicitly or implicitly defined structural roles. It works less well or not at all on text level semantics.ā€

#aria #HTML #accessibility #WebDev

html5accessibility.com/stuff/2ā€¦



Even though I know #HTML inside out and use it virtually every day, I'm still reading #HTMLForPeople by @bw because it's a prime example of how a good guide should be written.

1. The book is simple and easy to follow, with relevant points explained well enough even for non-coders to understand.
2. Images are clearly described for #blind readers through the use of #AltText.
3. The website is easy to navigate with a #ScreenReader.
4. There are no annoying pop-ups or ads on the website.
5. The book is entirely free of charge.

htmlforpeople.com/



āœšŸ½ drugs button popover - updated October 1 2024

"Several people have questioned my reasoning for writing about the use case of popover as a tooltip, no I was not on drugs, at the time of writing I noticed that GitHub was using popover as a tooltip"

#accessibility #HTML #ARIA

html5accessibility.com/stuff/2ā€¦





Top `<table>` tips:

ā€¢ Donā€™t span cells:
adrianroselli.com/2023/02/avoiā€¦

ā€¢ Donā€™t redefine column headers: adrianroselli.com/2022/02/coluā€¦

ā€¢ With one exception, you donā€™t need a `scope` attribute (the exception is sometimes the top corner):
tpgi.com/short-note-on-scopingā€¦

ā€¢ `column` is not a valid `scope` value:
html.spec.whatwg.org/multipageā€¦

ā€¢ Be wary of articles that donā€™t cite sources or testing when they make assertions about `<table>`.

#HTML #table #accessibility #a11y





ā‡§