1,247 questions
Advice
0
votes
2
replies
66
views
What is bold text? WCAG contrast requirements SC 1.4.3
Our internal tooling uses a secondary house style color as brand color. Often, the main navigation bar has that (blueish) color as background, with white navigation items. According to SC 1.4.3 the ...
0
votes
1
answer
142
views
Using W3C baggage keys for routing in RabbitMQ headers exchange
I use RabbitMQ as a message broker to enable data producers and consumers to communicate, and today I'd like to introduce OpenTelemetry's notions of tracing into them. So I did my implementation and ...
0
votes
1
answer
48
views
Does a date picker with date format instructions in placeholder fail 3.3.2 Labels and Instructions when an accessible date picker is also provided?
I found 3 accessible examples related to this, one of them is from Deque and uses only placeholder to provide instructions for date format.
https://dequeuniversity.com/library/aria/date-picker
https://...
1
vote
0
answers
62
views
Canonical XML 2.0 with Namespace PrefixRewrite
I'm writing a Nuget Package (which I'll post as Open Source to Github once it's done) that implements xml canonicalization using the Canonical XML Version 2.0 (c14n2) spec. I've also been using Test ...
1
vote
1
answer
410
views
The ManagedMediaSource API does not render content
Broadly browsers have the window.MediaSource source API. However, due to battery concerns Apple never adopted this API on mobile devices. In 2023 they released a spec for window.ManagedMediaSource ...
-6
votes
2
answers
110
views
Where do you suggest that keyboard constants be added to Javascript? [closed]
I saw this code here:
myCombobox.addEventListener('keydown', function(event) {
if (event.key === 'Escape') {
myCombobox.close();
event.stopPropagation();
}
});
My education and experience ...
1
vote
0
answers
62
views
new Image() w/ srcset: Do Browsers respect responsive images?
I am seeking information regarding the handling of srcset by various browsers when implemented through JavaScript, specifically using new Image().srcset. My primary interest lies in understanding ...
0
votes
0
answers
32
views
Log W3C's parentId in Spring Boot 3 with micrometer/brave bridge [duplicate]
We're currently implementing W3C tracing and a requirement is that we log the span ID, trace ID and parent ID. Logging span and trace is easily done with
pattern="Micrometer Trace ID[%X{traceId}] ...
0
votes
0
answers
117
views
How to resolve "Add text to this <button> tag " issue as part of SonarQube reports
I have the below code, which is a button tag inside that I have a icon inside tag
( previously I added tag to show the icon, but then had to change to because there was a SonarQube code smell issue ...
0
votes
0
answers
206
views
Using window.addEventListener beforeinstallprompt, it may occasionally not be triggered when the page is refreshed dozens of times。
My pwa project was successfully launched, using the following code:
window.addEventListener('beforeinstallprompt', e => {
console.log('Show pwa button')
state.buttonShow=true // The default ...
0
votes
1
answer
468
views
Why does the async loop `File.stream().getReader().read()` may block main thread?
<input type="file" id="el">
<code id="out"></code>
const el = document.getElementById('el');
const out = document.getElementById('out');
el....
0
votes
1
answer
130
views
What does mean Sync/Async in event table
I came across an interesting table of events at https://www.w3.org/TR/uievents. However, I am not familiar with the category Sync / Async.
Event Type
Sync / Async
Bubbling Phase
Trusted event
target ...
0
votes
2
answers
77
views
Wrapping a paragraph inside a heading behaves different in an iframe vs directly in the page
While I know wrapping a paragraph inside a heading like this:
<h1><p>Lorem<br>Ipsum</p></h1>
is invalid (see this question for example), it still renders correctly in ...
2
votes
0
answers
184
views
The term "insertion point" in whatwg spec
The quote:
The insertion point is relative to the position of the character immediately after it, it is not an absolute offset into the input stream.
What does it mean? Why not an absolute offset?
...
0
votes
1
answer
140
views
How does HTML parser interact with Speculative parser
Whatwg spec describes conception of the speculative HTML parsing.
So, there are many places in spec with the term active speculative parser. Spec says that HTML parser that owns an instance of ...