Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
3 replies
59 views

Situation We used to have a description-grid component that was our own interpretation of visually representing a list of key-value-pairs using div and role="table". We had a "one-...
F. Müller's user avatar
  • 4,062
Best practices
0 votes
1 replies
40 views

I want to implement an interface where some "slots" start out empty and can be filled with "objects". Something roughly like: My question is, what would the correct aria-role (or ...
natevw's user avatar
  • 18.2k
0 votes
1 answer
89 views

I was checking how NVDA reads Arabic text from aria-label, Even though my page has lang="ar" and the aria-label contains Arabic text but it is not reading arabic language it is just skipping ...
Gnaneshwar P's user avatar
2 votes
1 answer
50 views

With the following HTML: <input type="range"> This results in the Firefox "Accessibility" tab reporting a keyboard accessibility issue that Interactive elements must be able to be ...
horsey_guy's user avatar
0 votes
1 answer
54 views

I need to focus overlay/dialog when using screen reader. so I added aria-hidden="true" on main area when open dialog , and added role="dialog" aria-modal="true" But on ...
Shiba Y.'s user avatar
1 vote
1 answer
72 views

I'm building a fully accessible webpage for blind users who rely on screen readers for our study. They can read a document and ask AI assistant questions. Current design: The main content is a ...
Hesper's user avatar
  • 161
1 vote
0 answers
56 views

I have a dialog box that contains a search box and a list underneath. As you type, the list items are filtered out. Can I add role="combobox" to the input? With an input combobox, normally, ...
Alex's user avatar
  • 3,863
0 votes
1 answer
82 views

I have an HTML document that contains an <article> element. I am trying to insert a section that exists outside of the heading hierarchy of the page. It seems natural to use an <aside> ...
remeika's user avatar
  • 1,163
0 votes
0 answers
49 views

Got the following Input markup in my ASPNet page: <asp:TextBox aria-describedby="errorCardNumber" OnTextChanged="cardNumber_TextChanged" onkeypress="return ...
MB34's user avatar
  • 4,476
3 votes
1 answer
115 views

Is it possible to select via a CSS selector (or xpath) an element based on its computed aria name (=accessible name)? For instance for buttons it is computed like The button has an accessible label. ...
tobiasBora's user avatar
  • 2,604
1 vote
0 answers
97 views

I’m building an accessible modal. When it opens, I mark all siblings of the modal with aria-hidden="true" so the screen reader cursor can’t roam outside. That removes those nodes from the ...
tony95's user avatar
  • 310
0 votes
1 answer
49 views

I have an element acting both like a switch and a header of an accordion at the same time: <button role="switch" aria-checked="true" aria-expanded="true" aria-...
Bertuz's user avatar
  • 2,618
0 votes
0 answers
43 views

I can't find an example of the pattern I'm being requested to build. It is a parent that contains at least two elements, A and B, whose visibility is toggled by clicking the parent. When A is visible, ...
Marin Carroll's user avatar
2 votes
0 answers
141 views

I have the UI that has radio buttons and comboboxes next to them. The problem is that WCAG checkers like Arc Toolkit or Axe say that comboboxes inside radiogroups are not ok. I tried replacing the ...
Bobby Fade's user avatar
2 votes
2 answers
117 views

I’m writing fiction in HTML (which will be published as an EPUB – which is a wrapper around HTML), and I want to be sure that it’s as accessible as can be. However, I’m using weird things like non-...
obskyr's user avatar
  • 1,519
0 votes
0 answers
144 views

When there is an error in a required field we render this: <label for=":r0:-input">First name</label> <input id=":r0:-input" type="text" value="" ...
Jens Hedqvist's user avatar
-1 votes
1 answer
63 views

I have a modal form made with Bootstrap, and when the user clicks the cancel button I get a warning in the console: locked aria-hidden on an element because its descendant retained focus... This is ...
stib's user avatar
  • 3,549
2 votes
2 answers
206 views

I'm an IT trainer, and I’d like to better understand a particular point to avoid saying anything incorrect to my trainees. The criterion "2.5.3 Label in Name" (WCAG 2.2) tells that the aria-...
MGerard's user avatar
  • 43
0 votes
1 answer
43 views

I'm trying to get a select to work for the following div: <div class="control-group generic-style clearfix"> <label for="Category">Category</label> <...
BobZ's user avatar
  • 51
-1 votes
1 answer
71 views

I have a custom slider implementation. When it's :focus:visible, I handle the arrow keys (Up/Left and Right/Down) to move its thumb. I suppose, that's enough to declare the control role="slider&...
Shtole's user avatar
  • 367
0 votes
1 answer
161 views

The section element is displayed with a generic role in the accessibility tree below. When using the article element, the accessibility tree correctly assigns it the role of 'article'. But, for ...
hung's user avatar
  • 3
0 votes
1 answer
46 views

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://...
rubisinghpanwar's user avatar
1 vote
1 answer
420 views

I’m building a custom Web Component that displays live sustainability stats for hotels. The component updates CO₂ savings in real-time, and I want screen readers to announce the updates using an ARIA ...
Spekboom07's user avatar
0 votes
3 answers
171 views

I have an accordion in my app where each button has a heading and some supplementary information: My initial implementation (which works fine) is as follows, but is not ideal from an accessibility ...
DanielGibbs's user avatar
  • 10.3k
0 votes
0 answers
39 views

We have quite complex tables (dynamically built) which contain multiple header rows and multiple columns that built a super-ordinate dimension over the lower row's or next column's cells. Such table ...
Sebastian Barth's user avatar
0 votes
1 answer
138 views

I am trying to improve my skills in developing accessible elements for my WordPress theme since the new European accessibility act will soon come into effect. I'd like to show the HTML that my custom ...
ghost's user avatar
  • 105
1 vote
0 answers
80 views

Collaborative online editors often use an inline cursor widget to display the cursor positions for other users. Below, I have taken a screenshot of how Google Docs renders its collaborative cursors ...
Martin's user avatar
  • 1,006
0 votes
1 answer
293 views

So basically i have a React's div wrapper that i built to act as a button for clickable block with complex content that no button or link can cater. <div ref={ref} role="button&...
Fred A's user avatar
  • 1,782
0 votes
3 answers
1k views

If I have a button: <button> <svg width="1em" class="inline"><use href="#start-icon"></use></svg> Start </button> Will screen ...
Shtole's user avatar
  • 367
0 votes
0 answers
5k views

When I normally open/close the popup the aria-hidden was not showing. but if i open the popup inspect the inside of the modal element then I close it the error was showing. how to solve this problem. ...
Dharan Gokul R's user avatar
-1 votes
1 answer
107 views

I wanted to use <output> element, because I thought it's the best solution in terms of accesibility (and maybe SEO) for calculated valeus (I have two <input>s and one <output>). NVDA ...
pigeon's user avatar
  • 1
0 votes
0 answers
63 views

My application has a navigation menu pop-out panel that has a header with a home link and a filter dropdown above the list of menu items (which I cannot change). From what I understand (from a third-...
TitaniumMithril's user avatar
0 votes
3 answers
83 views

I have the following code: <h2> Deadpool <svg width="53" height="64" class="inline" aria-label="and"> <use href="#oleo-...
Shtole's user avatar
  • 367
0 votes
1 answer
352 views

I have the following code: <nav class="navbar navbar-expand-md"> <div class="container px-0"> <div id="navbarCollapse" class="collapse ...
Shtole's user avatar
  • 367
0 votes
1 answer
110 views

I have a role="grid" table with some cells sharing the same content (e.g. text, number or date). Clicking a cell means changing the selected state of the value in the cell, which is ...
Sebastian Barth's user avatar
0 votes
2 answers
253 views

If I have an input with its aria-label set to 1 and an associated label set to 2, what will be calculated as aria label of an element, referencing the input? <input type="radio" id="...
Shtole's user avatar
  • 367
1 vote
1 answer
96 views

If we take a look at Bootstrap tab example: <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" /> <link href="https://cdn.jsdelivr.net/...
Shtole's user avatar
  • 367
-1 votes
1 answer
190 views

Let's take a look at the W3 ARIA toolbar example: <div class="format" role="toolbar" aria-label="Text Formatting" aria-controls="textarea1">…</div> …...
Shtole's user avatar
  • 367
0 votes
1 answer
159 views

I want to click the Facebook's Photo/video button when creating a post. The element is: <div aria-label="Photo/video" aria-pressed="false" class="..." role="...
Ooker's user avatar
  • 3,404
0 votes
1 answer
313 views

Suppose I have a page with different <section>s. Some <sections> may contain, within them, other <sections> and so forth. Now, suppose I want to create a non-primary navigation to ...
RaisinCrab's user avatar
0 votes
0 answers
486 views

I am implementing an accessible listbox with role="listbox" for the parent container and role="option" for each item and aria-selected to indicate the selected state. However, ...
Muthu's user avatar
  • 1
0 votes
1 answer
98 views

I have a table implemented like this, with appropriate classes to make it look like a table: <div> <div> <div id="e3"> <div role="table"> ...
Rony Tesler's user avatar
  • 1,396
1 vote
1 answer
140 views

The exact confusion I have is the following On one hand WAI-ARIA provides the 5 rules as a practical guide for authors to use WAI-ARIA (the document isn't a W3C recommendation though), and there ...
sukam's user avatar
  • 11
0 votes
1 answer
51 views

can we change the native semantics of landmark elements or any element of html5 using aria, is it semantically correct and conforming to do so ? Suppose I want to use the dialog element as a ...
Leconte''s user avatar
0 votes
1 answer
117 views

I am trying to add a text verbiage to my screen reader "The progress is at x%". However, NVDA screen reader only says the digits out loud. I am trying to show only the x% to the user, but ...
major's user avatar
  • 1
1 vote
1 answer
798 views

In this question, we'll consider 2 examples but please note that this question is about arbitrary loading placeholder (it means that the loading placeholder could consist from any shape, not ...
Takeshi Tokugawa YD's user avatar
1 vote
1 answer
175 views

I have just learnt about menuitemradio when I was searching about radio role on MDN. However, seems there is no explanation about the difference between them.. Can I confirm that they are actually the ...
Oliver's user avatar
  • 65
2 votes
3 answers
201 views

If a set of buttons (or labels) set the value of an input with a different value each, what roles and arias should they possess? In this scenario the input can also be inserted/edited by the user ...
nick zoum's user avatar
  • 6,653
0 votes
3 answers
417 views

Let's say I have a list of checkboxes inside a <fieldset>. I want the user to be able to filter this list (given that this is pretty big), that is, you type something in this input, and only the ...
darkhorse's user avatar
  • 8,904
0 votes
1 answer
351 views

Let's say I'm trying to build a multi-select input using a list of checkboxes: I've put the checkboxes inside a <fieldset> with a <legend> label There is an input that lets the user ...
darkhorse's user avatar
  • 8,904

1
2 3 4 5
31