accessibility – WCAG guidelines for displaying a statistic and its value? (in HTML)

I apologize if UX is not the right place for this, I am a UX designer, but it may be a little bit in front end development.

I am working on the production of certain HTML / CSS components for a client and I try to make them as accessible as possible in the code I provide them. As I have done some accessibility audits recently, it is a big thing that I am trying to get out of my work.

I'm trying to find the best way to present the following, either by just using good HTML semantics, or if that requires aria tags, for example labelledby?

I am looking for the best way to display a statistic and then its value. Please do not criticize the actual design here, I am not responsible for the design, only the production of the components.

enter description of image here

Currently my code is:

Number of computers affected


However, I'm not sure if an h3 title item is correct here (at least it's the next higher level title on the page). Should I use a label or a div with an aria label? Or is it OK to use headers here, even if everything about them is worth.

Thanks a lot for your help.

seo – Should I add a language code in my HTML if I only have one language?

You can define lang assign in your tag if desired. W3c recommends adjusting it.

If you define it, you value should just be en, do not en_US. It is a language identifier, not a locale identifier. It should only specify the language, not the language and the country.

However, the definition of lang do nothing. To my knowledge, this attribute is not used in any way. Google says they ignore it because they find it more reliable to detect the language from the words used rather than relying on metadata.

Google uses hreflang tags to target alternative versions of your page in different languages. See However, if you only have one language, you should not use hreflang tags.

If you end up targeting your site only in the United States, Google will not send traffic from other countries to your site. If traffic from other countries is valuable to you, you should not try to target your site only in the United States.

Problem with the basic html tag

The HTML element specifies the base URL to
will use for all relative URLs contained in
of a document. There can be only one element in a document.

Knowing that, if it doesn't work for you, what I would do would be to use the absolute path to load your CSS to verify that you reference them correctly:

If this continues without loading, it is that you are not using the correct path where your styles.css check it and the file name.

However I leave you an example where you can see the use of the label . If you place the loot on the link, you will see that even if it has the attribute href empty it connects you to . In the picture, if you inspect them, something similar can be seen, that the ture for it is made up of what is in plus the relative path defined in its attribute src.

References: Example, basic tag

html5 – How to deploy an html package on centos with nginx (Unreal Engine 4.23)

I am trying to ship a dummy game to a website. I did each step of this document and packed the game. The packaged game runs on localhost on Microsoft Edge without any problems. Then I copied the files to my server. The operating system is CentOS7 and I use the nginx web server. The backend is written with Flask. But I can't see the game online. Here is the link to my website. As you can see, the game is not downloaded, only certain buttons are visible. There is unfortunately no error msg.

Do you have an idea?

html – What is the best tool for creating a website menu?

I have an article website with 85 pages in total. It's just HTML, CSS and Javascript. I have to change the website menu, so I will have to make the change within 85 pages.

What tools should I use to be able to change the website without having to change each page?

I know I could use php or python with a database but I am sure there is something better than this. I want to avoid the database as it can slow down the website and compromise SEO.

css – Image gets bigger than I want in html

I am learning HTML and CSS, and I am also a beginner, just for what is said.

I am creating a website and have created a horizontal navigation bar at the top with links to other pages of the site, as well as an icon.

When I look at my website in the browser and check the items with the inspector tool, the list item "li.nav_bar_icon" becomes 80×82.55, and the logo is 64 pixels, gets 8 + 8 pixels of padding,

The navigation bar code looks like this:


and CSS:

.nav_bar ul {
  width: 100%;
  float: left;
  list-style-type: none;
  background-color: #00000f;

.nav_bar li {
  float: left;

.nav_bar_icon {
  float: left;
  padding: 8px;

.icon {
  height: 52px; 

.nav_bar_button {
  display: block;
  color: #008CFF;
  text-align: center;
  padding: 25px 20px;
  text-decoration: none;

html – Search for an online tool that displays linked images from a website

I'm looking for an online tool that displays linked images from an html directory. Specifically, I have many links to html directories which all list hundreds of links to images. These directories do not display the images but link them. I need an online tool that displays all of these images as a gallery, so I quickly identify the images that concern me.

I'm sure there are tools online that do this stuff.


javascript – Pass a parameterized function in HTML

Aoba, blz?
I am trying to make a deletion on my backend to be called in HTML when a person clicks on a certain button.
So I pass a src script to the file that has this function. And on onclick I call this function, like this:

const db = require('../backend/db')
const routes = require('./routes')

const ideas ='SELECT * FROM ideas')

function deleteIdeia(id) {

module.exports = deleteIdeia

and click on:

And delete it on my back:

delete(req, res) {
        const { id } = req.params`DELETE FROM ideas WHERE id = ?`, (id), function (err) {
            if (err) return console.log(err)


        return res.redirect('/ideias')

The problem is that it indicates that the deleteIdeia function has not been defined. If anyone can help me, I appreciate it!

PS: The backend function works correctly, I tested it on INSOMNIA.

html – The hero image does not appear

I have a project that has a background image on the sides and text in the middle of the page.

There are two problems. This page has a hero image in the end, but it doesn't show up, I don't know why.

And the other problem is that the bottom of the sides should reach the bottom of the page, but adding a height: 100%, does the opposite and the image disappears completely.

Currently, the page looks like this:

current page

When I want something like this:

target page

.contenido {
	display: flex;
	text-align: center;

.lateral {
  background-image: url(;
  background-repeat: repeat-y;
  width: 15%;

.central {
  width: 70%;
  padding: 20px;

.hero-image {
  background-image: url("");
  height: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet

html – Get an array of site page values ​​by jquery

I need a csv file like: "Region title", "image file name", "href value" from the site page How to do this by jquery?

I tried to get the items by this code:


But that only shows me the elements of class .item. How to extract innerText, then add to this src image from child elements?
Thanks for any help.