Questions tagged [alt-attribute]
The alt-attribute tag has no usage guidance.
alt-attribute
42
questions
1
vote
1
answer
35
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
30
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
40
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
41
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<...
3
votes
3
answers
276
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
28
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="...
0
votes
0
answers
36
views
Retrieve alt text from main image to thumb image in blog post listing
My website (blog) is hosted by blogger and on the homepage it lists all of the posts with an thumb image and description, date etc. The image thumb of each listed post is the scaled down image in ...
2
votes
2
answers
202
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 ...
0
votes
0
answers
37
views
Owl-carousel missing alt attributes
Does anyone know how to get the alt attribute tag in the code on the owl carousel? The alt text appears in the media files, but don't appear in the code and Google is saying they're missing which isn'...
1
vote
0
answers
67
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
0
answers
89
views
leaflet map design image alt title is required?
I load a Leaflet JS based map at launch of my website. I have no problems with creating, displaying maps and other operations, it opens very fast 92% average speed result
But in the google pagespeed ...
0
votes
0
answers
125
views
AHK wont send ALT+key
I wrote a simple AHK script to remap keyboard keys for classic DOOM. The native keybindings uses the up and down arrow to move forward and back, left and right to rotate left and right, and then alt+...
0
votes
3
answers
58
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
0
answers
177
views
how can i map <Alt> itself on vim/nvim to <Esc>
I want to map (from the init.vim file) the key to the key ON VIM/NVIM because its closer to my thumb.
The only thing I found online was binding <Alt + key>, not itself.
Is this even possible?
...
0
votes
3
answers
283
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 ...