GNU/Weeb Mailing List <[email protected]>
 help / color / mirror / Atom feed
From: Memet Zx <[email protected]>
To: GNU/Weeb Mailing List <[email protected]>
Cc: Ammar Faizi <[email protected]>,
	Irvan Malik <[email protected]>,
	Memet Zx <[email protected]>
Subject: [PATCH Website v1 2/2] body.php: Adding the `[lang]` attribute to the `<html>` element
Date: Sun, 29 Jan 2023 08:14:56 +0700	[thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>

From: Memet Zx <[email protected]>

If the page does not specify a language attribute,
the screen reader assumes that the page is in the default language
that the user selected when setting up the screen reader.
this will be a problem for some people and will have difficulty pronouncing
the text on the page correctly.

Signed-off-by: Memet Zx <[email protected]>
---
 src/components/body.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/body.php b/src/components/body.php
index d72ce39..8cd450b 100644
--- a/src/components/body.php
+++ b/src/components/body.php
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html>
+<html lang="en">
 <?php require __DIR__."/head.php"; ?>
 <body id="index" class="home">
 	<div id="wrapper">
-- 
Memet Zx


  parent reply	other threads:[~2023-01-29  1:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-29  1:14 [PATCH Website v1 0/2] Improve website accessibility Memet Zx
2023-01-29  1:14 ` [PATCH Website v1 1/2] style.css: fixed background and foreground colors Memet Zx
2023-01-29  1:14 ` Memet Zx [this message]
2023-01-29 11:19 ` [PATCH Website v1 0/2] Improve website accessibility Ammar Faizi
2023-01-29 11:47   ` [PATCH Website v2 0/2] Fix commit messages Memet Zx
2023-01-29 11:47     ` [PATCH Website v2 1/2] style.css: Fix background and foreground colors Memet Zx
2023-01-29 11:47     ` [PATCH Website v2 2/2] body.php: Add the `[lang]` attribute to the `<html>` element Memet Zx
2023-01-29 11:51     ` [PATCH Website v2 0/2] Fix commit messages Ammar Faizi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox