484 questions
0
votes
0
answers
60
views
Replace empty alt attribute in wordpress content with proper empty alt syntax
I have decoration image in my website.
They don't have an alt attribute value because I don't want that the screen reader are disturbing by decoration images.
But wordpress put just the word alt ...
1
vote
0
answers
92
views
How can I add alt text to the iframe created by Google reCaptcha?
I have had an accessibility check done on my site and it found that the iframe surrounding the image created for reCaptcha has a title attribute, but no alt attribute. Is there a way to add one? ...
0
votes
1
answer
26
views
image filename doesn't show the name of the image but it only shows numbers in rails7
When I write this code to show image filename for the alt :
<img class="card-img-top" alt="<%= store.main_image.filename %>" draggable="false" src="<%= ...
0
votes
1
answer
88
views
I am facing issue while using AltTester unity sdk
Using this library in C# script while writing test cases in unity c# script
using Altom.AltUnityDriver;
we face the error ,
type or namespace name 'Altom' could not be found (are you missing a using ...
1
vote
2
answers
768
views
I am trying to add ALT text to images inside a pdf programatically
I have the ALT text generated just need to add it somehow to the images under the figure tag. A little background - I want to my my pdf accessible to the WCAG 2.1 AA standards and i am using adobe ...
1
vote
1
answer
71
views
Prevent/Disable close option in Electron app
I am trying to prevent the user from closing the Electron application. In my case user is using Alt + spacebar combination and by doing so a menu will appear in which we have a close option. Please ...
0
votes
1
answer
45
views
Jquery find and replace an attribute not working
I'm trying to fix some accessibility errors in a new wordpress site by fixing alt tags. I created a new js file called "fixes.js" and included the following:
$('body img').each(function() {
...
1
vote
1
answer
72
views
Replacing any sequences of spaces, tabs, newlines etc with single spaces using nom
I am learning parsing with nom right now and There's a few problems that pop up that I cannot solve myself. One I'd like to ask here.
First: I am not sure, if I actually need to use nom for this, but ...
1
vote
2
answers
400
views
Use nom's `alt` and `map`-functions together to modify an object in place depending on which parser was successful
I have a struct that holds a list of words and a list of numbers
struct NumbersAndWords {
pub words: Vec<String>,
// ideally numbers would be Vec<i32>
pub numbers: Vec<...
4
votes
3
answers
1k
views
Persistent alt text flashing in Firefox when loading images
When loading images on my site, firefox briefly (for around half a second) flashes the alt text before the image loads.
There are other issues about this, but everyone suggests adding
img:-moz-loading ...
0
votes
1
answer
30
views
Why is spacing around not loading image removed in Firefox?
In Firefox, the spacing around images that don't load is removed.
Code to reproduce:
<h2>If image loads, padding is fine</h2>
<img src="https://picsum.photos/200" alt="...
2
votes
2
answers
761
views
Language of parts for image alt text
I was working on the DHS trusted tester course and came across this example (on Lesson 4: Forms (On Input) > Passing examples > Example 3) where a page language is changed to Spanish using a ...
1
vote
0
answers
117
views
How to add Alt Tag to Images loaded via OpenLayer
I need to automatically add Alt tag to images generated automatically via Openlayer.
I tried different solutions via Jquery and js, but none seems to work
How to add an alt attribute of img tags with ...
0
votes
3
answers
84
views
How do I get ALT attributes for a onClick link?
Consider:
<a href="#" onClick="myFunction22()"><img src="images/icon-exit.png" width="34" height="34" alt="Exit Fullscreen"></...
0
votes
3
answers
512
views
How to add alt text to images without an ID
I need to add alt text to various images which do not have IDs or anything else to identify the images from one another other there the image file names.
Is there a way to add alt text to each image ...
-2
votes
1
answer
2k
views
Can you add alt/aria-label directly into CSS?
We are currently in the process of completing some accessibility checks on our website. One of the issues it has identified is that the 2 icons on our mobile version need "discernible text":
...
0
votes
0
answers
39
views
why php code is not working inside the img tag?
<img class="image" src="./uploads/<?php echo $row['image_url']; ?>" width="300px" height="280px" alt="Movie poster">
in this img tag the ...
0
votes
1
answer
384
views
Generate alt texts for upload images with AI in TYPO3?
I am searching for a way to automatically generate alt texts for images when uploading them in the TYPO3 backend? Is there any extension that can do this, or similar extensions for generating alt ...
0
votes
1
answer
1k
views
How can I implement alternative text on an element with a background image?
AIOSEO site health states this image has no alt text tag. How do I fix it and save the change so it solves the issue? Thanks
<div class="_9VmET" style="background-image: url(&...
1
vote
0
answers
65
views
How to add attribute 'alt' to react core UI CAvatar component?
Ho to add alt attribute for the React coreUI CAvatar img?
We have the below code to display the image as an avatar in our application, but while doing the web accessibility test we get a Missing ...
1
vote
0
answers
481
views
Add "alt" tag to images wordpress
I'm trying to solve a situation by creating a code that checks and automatically adds alt tag from the name.
It works partially, that is, it does what it has to do, but whatever I do, I end up ...
0
votes
2
answers
500
views
How can I automatically add an image's "alt" attribute using the image's filename - problem
I would like the "alt" to be displayed when hovering over the image. Everything works fine, except that although the photo has "alt" without the "-" and ".jpg" ...
0
votes
1
answer
48
views
Javascript to type "alt" from image url omitting specific characters
The following script works but not as expected.
<img class="img" src="https://photoooo.com/Name-Name2.jpg" width="200" height="300" />
$(document).ready(...
-3
votes
1
answer
768
views
Redundant alt attribute. Screen-readers already announce 'img' tags as an image [closed]
I have a React application and I'm getting the following error:
Redundant alt attribute. Screen-readers already announce 'img' tags as an image. You don’t need to use the words 'image', 'photo,' or '...
-1
votes
1
answer
1k
views
Getting all image alt text values and appending into a list using vanilla JS
The following JS gives me a list of all the img alt text used on a webpage, showing either a name "name" or empty quotes "".
const altAtt = document.querySelectorAll("*[alt]&...
2
votes
1
answer
6k
views
How do I write alt text for an icon inside a button tag?
I'm using react and I have a table with a Delete action column. I'm displaying a delete button in each row and want to have alt text for the entire button but I'm not sure how to do this since does ...
0
votes
0
answers
265
views
Wpf, does it have an alt text similar to html?
I want to be able to mouse over text that is cut off in an element and then have the full text appear in a box similar to alt text in html (The text that appears when hovering the mouse over images).
...
0
votes
1
answer
982
views
Display image alt text in when printing
I would like to display image alt text instead of image when printing the webpage. I tried this but it doesn't work, probably because img doesn't have a closing tag so the pseudo-elements doesn't work ...
0
votes
0
answers
144
views
Trigger Alt from KeyPress
I want to detect Alt, or Alt + some key, from within Form1_KeyPress. This is my code:
private void Form1_KeyPress(object sender, KeyPressEventArgs e)
{
if (Control.ModifierKeys == ...
0
votes
1
answer
463
views
Alt text for a dropdown menu in shiny
If I'm using Microsoft word and I leave my mouse to hover over the font dropdown menu, this popup appears:
It tells you the dropdown menu's name, what it's for and a shortcut to using it.
I have an ...
0
votes
1
answer
1k
views
Get the alt text of featured image wordpress rest api python
I am trying to get alt text of featured image using rest api and python.
Here is my code:
media = {
"file": open(f"images/{filename}", "rb"),
"caption": &...
-1
votes
1
answer
1k
views
I am Unable to use Alt + Enter in my Android Studio for Flutter?
Also not able to See Intensions in setting
Ctrl+Alt+S for Setting in Android Studio but Intension is not Visibleenter image description here
5
votes
2
answers
1k
views
What is best practice (and legal) for product listing image alt text for accessibility?
I'm trying to determine what structure is best with regard to typical e-commerce product listing pages. I have reviewed WCAG and other sources and have not found a definitive solution as of yet. A ...
0
votes
2
answers
644
views
Change Alt Text for Multiple Form Control Checkboxes
Is there a way to update the alt text for multiple form control checkboxes at once using Excel VBA? I have about 20 check boxes on a worksheet {"Sheet1"} (Check Box 1, Check Box 2, ... Check ...
0
votes
2
answers
1k
views
Invisible Character Unicode
Does anyone know if there is any invisible character other than the space? like a website using (Example: This Invisible Character). Is it possible to programmatically add some such characters that ...
1
vote
1
answer
1k
views
How to use escape characters in an alt attribute inside an img element in HTML?
Is this the right way to use escape characters in alt attributes for alt text of an img element?
I have the below code:
<h3>Option 1</h3>
<img src="image.jpg"
alt='Version of "...
1
vote
0
answers
104
views
Converting images included in table data to thier alt-text using IMPORTHTML in Google Sheets
I'm attempting to scrape data from spoilers for the new Pokemon Legends: Arceus game, and have run into a complication concerning images contained within the tables. The tables of interest are ...
0
votes
1
answer
76
views
Display tooltip when hovering over paypal button?
I have tried using alt and title attributes in the <div> surrounding the code, but it doesn't seem to work. 😕
I'd like to give potential buyers some reassurance about the price without them ...
0
votes
2
answers
69
views
Сan i use the same Alt attribute for the preview and for the large product image?
Can I use the same Alt attribute for the preview and for the large product image? Or is it better to set Alt only for large images?
0
votes
1
answer
1k
views
add Alt Attribute to all Images - Vanilla Javascript
How would I be able to loop through all the images, retrieve the image title, then add it to the alt attribute?
function addAltAtrr() {
//get the images
let grabImage = document....
0
votes
2
answers
3k
views
Wordpress site - adding alt attributes to existing images in PHP
I want to figure out how to add an alt attribute to pre-existing images on the site. I've read all the other posts I can find on StackOverflow and Wordpress.org, tested multiple functions, and haven't ...
0
votes
2
answers
147
views
add alt tag to yii2 php
I am trying to add alt="app logo" to logo to my website with the help of Html::img tag but I keep getting errors on the website.
This is my code:
<?= Html::a(
...
0
votes
1
answer
241
views
Is there a function that makes an image not clickable so that the default chrome widget doesn't appear and allow them to download the image?
Is there a function that makes an image not clickable so that the default chrome widget doesn't appear and allow them to download the image??
0
votes
0
answers
189
views
remove whole img tag from a string which matches the alt value in C#
I have an "img tag with alt and src properties" in a string. I want to remove this img tag from it when it matches the value of alt property.
'open tag - img alt="SCHOLAR IMAGE" ...
0
votes
0
answers
25
views
Adding alt tag inside PHP image element
I have this code:
<?php } else { ?>
<div class="bgft"><img src="<?php echo CinemaFlix_Directory. 'public/img/poster.webp'; ?>"> </div>
<?php }
...
0
votes
1
answer
721
views
css padding for image alt text
I want to give the img alt text padding so it doesn't directly touch the border but I don't want my image to have padding when it was loaded correctly.
Can I give just the alt text padding without it ...
0
votes
1
answer
200
views
WORDPRESS Get Filename to use as ALT
I have been using this code to set alt text to equal the title as the alt text is missing. Previously though I had used $attr['alt'] = $attr['title']; in order to use the filename as alt. It, however ...
1
vote
1
answer
387
views
WORDPRESS replace hyphens with space for $post->post_title
I am using this code in functions.php to set the "alt" text to equal the "title" as the alt text is missing.
The "title" is equal to the image filename which contains ...
0
votes
1
answer
632
views
Jquery search filter for images based on ALT tag
I'm building a search page for an image gallery based on the alt tag. The gallery will eventually have over 3000 pics. Only images matching text from the search bar are shown. The page is updated as ...
5
votes
1
answer
995
views
Iterm2 alt + backspace Like Linux
I changed my job and now I have a Macbook for working I configured Iterm2 with zsh and almost everything is working, but certain shortcuts aren't, one of the most used by me every day "alt+...