1,247 questions
Advice
0
votes
2
replies
37
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
122
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
46
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
54
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
372
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
56
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
107
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
200
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
427
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
122
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
74
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
180
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
134
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 ...
1
vote
0
answers
223
views
Is Angular's emulated shadow DOM html standard conform and why does nobody care?
Angular uses shadow DOM to encapsule styles for it's components:
In Angular, a component's styles can be encapsulated within the component's host element so that they don't affect the rest of the ...
1
vote
2
answers
1k
views
HTML element's textContent and value unnecessarily different
Let's have, say, an element with the text content of Clark, Theodore S.. Note the double white spaces after the "Theodore". Say you have this element be an HTML option, like this: <...
0
votes
0
answers
61
views
ontology versioning: Link both versionIRI#MyClassIRI and ontologyIRI#MyClass123 to same resource in rdf / owl
I want to use 2 synonymous IRIs to SPARQL query for same resource (from most recent ontology)
I want to be able to construct SPARQL queries for the latest version of my ontology (example.org/...
1
vote
0
answers
134
views
TypeScript doesn`t support IntersectionObserver v2 "delay" and "trackVisibility" options
During IntersectionObserver initialization, I encounter a TypeScript error that says "Object literal may only specify known properties, and 'trackVisibility' does not exist in type '...
1
vote
1
answer
558
views
Why are Android elements easily seen in Appium Inspector not being seen at automation runtime?
I'm on a Mac, writing node.js (v16.19.0) test automation for an app running on an Android emulator (API 34 browser version 14). I'm trying to tap a button in the app that is always seen by the Appium ...
0
votes
1
answer
754
views
How to perform a Tap using Appium 2.0 C#
I miss touchactions but they are deprecated so I want to understand how to write them with W3C standards. I want to move to a location and then tap that location. Here is what I am trying but its not ...
1
vote
1
answer
282
views
Browser DOM Credential Management API password store not working - get returns null
I would like to store a password for the user using the Credential Management API.
Trying to run the following code off of a local server results in null:
await (async function testStoredPassword({id, ...
1
vote
0
answers
73
views
W3C Caused by: com.apicatalog.jsonld.JsonLdError: Unexpected response code [429]
my name is Tuan, I am getting the following error:
Caused by: com.apicatalog.jsonld.JsonLdError: Unexpected response code [429].
JsonLdError[code=There was a problem encountered loading a remote ...
2
votes
2
answers
1k
views
Content Security Policy Hashes for Files Don't Seem to Work
Step 1: Download a raw copy of Bootstrap 4's SHA-384 integrity listed css file, to a local web project:
https://getbootstrap.com/docs/4.0/getting-started/download/
As of writing this, they have their ...
3
votes
2
answers
3k
views
Android CredentialManager: GetCredentialResponse error returned from framework
I'm testing the abilities of the Android Credential Manager APIs to work with passkeys over W3C standards.
While everything is set up and works I'm getting the following errors inconsistently :
While ...
-1
votes
1
answer
263
views
Requests from Client is blocked by CORS Policy, no matter what configuration you set
I Deployed a MERN application on Vercel, but you know requests must happen between client and API in order for website to functions, such as signup, login, etc. as an exmaple I've made a post route ...
1
vote
1
answer
119
views
How to fix accessibility issue with large font and background image?
I have an image of ice-cream and on top of that I am adding a heading text in very large font, but font color is showing accessibility issue to me with background. How to fix this without changing the ...
1
vote
1
answer
62
views
W3C Document.parse() produces unwanted elements
I just made up a simple XML file:
<main>
<foo>
<bar>1</bar>
<bar>2</bar>
<bar>3</bar>
</foo>
</main>
I just ...
5
votes
1
answer
304
views
In RDF-star, is there any formal relationship between a quoted triple and a reification of that triple?
The following two graphs clearly express a similar intent, one using RDF-star (soon to be incorporated into the RDF standard as RDF 1.2), and one using RDF reification.
:bob :asserts <<:earth :...
0
votes
0
answers
39
views
how to change tag a href in wordpress for validator w3
i my website is thai language, and link in webpage is thai
i check page in https://validator.w3.org/ it's show error "Bad value for attribute href on element a: Percentage ("%") is not ...
0
votes
1
answer
57
views
"Style sheets that use relative units can more easily scale from one output environment to another"?
The CSS Spec has this statement when talking about relative units versus absolute units:
Style sheets that use relative units can more easily scale from one output environment to another.
What does ...
1
vote
0
answers
212
views
What is the purpose of the third-party-cookie phase-out?
I've recently been reading about Chromium trying to phase out third-party cookies, and the project confuses me a bit. Most of the documentation I can find about it relate to technical issues and ...
0
votes
0
answers
30
views
Why does x-vendor-feature not pass w3 validation
Tag attributes in form of x-feature-vendor is now in the HTML spec:
For markup-level features that are intended for use with the HTML syntax, extensions should be limited to new attributes of the ...
1
vote
1
answer
174
views
Consistent rendering of SVG textbox text position?
I guess this is similar in spirit to vertical alignment of text element in SVG - consider this test.svg, which I made in Inkscape (with some manual text edits afterwards), where I just placed a "...
0
votes
1
answer
86
views
W3C validator and pagespeed warning?
If I use this code, W3C validator shows warning. (Bad value 100% for attribute height on element img: Expected a digit but saw % instead.)
<img src="" width="100%" height="...
3
votes
1
answer
693
views
A reference list of block- and inline-level elements
I look for an authoritative reference list of all HTML block and inline elements. (That is, each element should me classified as either "block" or "inline".)
There are three ...
1
vote
2
answers
2k
views
b, i, u, s tags: should we use CSS instead?
<b>, <i>, <u>, and <s> tags are purely "visual" and don't convey any semantic meaning.
I've <em>already</em> told you <em>four</em> times
that ...
0
votes
1
answer
4k
views
BroadcastChannel API inconsistently throws error if it was closed when calling postMessage()
When working with BroadcastChannel API, I realized that there's a case where if the channel is closed and the developer still try to call postMessage(), there won't be any exception thrown; at least ...
2
votes
1
answer
1k
views
Is there any current implementation of a middleware that creates an activity based on W3C Trace Context for dotnet?
I'm trying to find a way to have my controllers automatically create the activity based on w3c headers.
My request has the traceparent header.
I am not using AppInsights, and I know that if I ...
-1
votes
1
answer
81
views
Why is an inline-level box in the same line box as its parent inline-level box? [duplicate]
The documentation states that the boxes (siblings) are distributed one next to the other in the Inline Layout,
An inline formatting context is established by a block container box
that contains no ...
4
votes
0
answers
206
views
Clarification for boxes, box tree and fragment tree
I am having trouble understanding the term "box" as defined in CSS Display 3 § 1, and when it belongs to the "box tree" or "fragment tree". I'm asking for clarification ...
0
votes
1
answer
112
views
Access of properties of HTMLMediaElement Interface in some another package
In a package A, there is an interface named HTMLMediaElement which had some properties i.e.,
HAVE_METADATA: number;
HAVE_CURRENT_DATA: number;
HAVE_NOTHING: number;
NETWORK_NO_SOURCE: number;
...
-1
votes
1
answer
106
views
Inheritable properties - Why don't anonymous block boxes inherit the property?
According to the documentation:
https://www.w3.org/TR/CSS22/visuren.html#anonymous-block-level
The properties of anonymous boxes are inherited from the enclosing
non-anonymous box (e.g., in the ...
0
votes
1
answer
65
views
Formatting context and atomic inline-level boxes
https://www.w3.org/TR/CSS22/visuren.html#inline-boxes
An inline box is one that is both inline-level and whose contents
participate in its containing inline formatting context. A
non-replaced element ...
0
votes
0
answers
63
views
Can an anonymous block box create an inline formatting context like that created by a block container box when it has no block-level elements?
According to the documentation, it states the following:
https://www.w3.org/TR/CSS22/visuren.html#anonymous-block-level
The line boxes before the break and after the break are enclosed in
anonymous ...
0
votes
1
answer
457
views
JAX-WS server application cannot start due to schema validation
Application can't start with following exception:
INFO: Initializing Spring root WebApplicationContext
15:19:04.697 [main] ERROR org.springframework.web.context.ContextLoader - Context initialization ...
0
votes
1
answer
782
views
What exactly is an inline box?
https://w3c.github.io/csswg-drafts/css2/#inline-boxes
An inline box is one that is both inline-level and whose contents
participate in its containing inline formatting context.
A non-replaced element ...
3
votes
1
answer
1k
views
Azure Function .net core 6 Isolated - traceparent (W3C) correlation
I'm trying to have an azure function (.net core 6 isolated) where I want to have connected to application insights and user W3C traceparent as my correlation method.
I have installed System....
2
votes
0
answers
122
views
The concrete definitions of "start" and "end" in a selection range
With the DOM Standard:
For convenience, a range’s start node is its start’s node, its start offset is its start’s offset, its end node is its end’s node, and its end offset is its end’s offset.
But ...
0
votes
1
answer
255
views
I'm consistently getting the incorrect value for a contrast ratio between two colours in a contrast finder in C#
I am attempting to write a class library that can be used to take an input colour in any format and returns one of two colours that subscribes to the W3 standards for good readability.
Due to the font ...