statueofdavid / david-bb-site

my latest attempt at a portfolio
0 stars 0 forks source link

w3 Validator issues #1

Closed statueofdavid closed 3 months ago

statueofdavid commented 3 months ago

About

https://validator.w3.org/nu/about.html

Results

https://validator.w3.org/nu/?doc=https%3A%2F%2Fdavid.declared.space%2F

Expected Action

  1. make an issue for each in the list
  2. Learn why
statueofdavid commented 3 months ago

taking a look

statueofdavid commented 3 months ago

issue #1 :: Consider adding a lang attribute to the html start tag to declare the language of this document.

both links were to the same page but different sections and made my brain scramble trying to read it, https://www.w3.org/International/techniques/authoring-html.en?open=language&open=langvalues#langvalues

so I searched:

this seemed to offer the best solution, attempting locally and running to test change https://rocketvalidator.com/html-validation/consider-adding-a-lang-attribute-to-the-html-start-tag-to-declare-the-language-of-this-document

statueofdavid commented 3 months ago

incidently I also resolved #3 of the initial results "Start tag seen without seeing a doctype first. Expected <!DOCTYPE html>."

uploaded new-results-tiny

statueofdavid commented 3 months ago

From the top of the previously uploaded test:

"The character encoding was not declared. Proceeding using windows-1252"

testing solution from: https://stackoverflow.com/questions/17935819/why-is-this-html5-document-invalid

statueofdavid commented 3 months ago

w3validator-dds-portfolio

"The character encoding was not declared. Proceeding using windows-1252" has been resolved

statueofdavid commented 3 months ago

Screenshot from 2024-05-08 13-02-38

will create a new milestone for this... init eval, will remove half code base and possibly increase project impl complexity because I will need to style the "a" element to appear as a pseudo-button. After skimming the button element spec here I believe the button is really part of a form component but also can cause confusion for users using screen readers and other accessibility tools.

statueofdavid commented 3 months ago

https://github.com/statueofdavid/david-bb-site/milestone/3

statueofdavid commented 3 months ago

I know this isn't the correct process but I want to get into building my TODO list app and add to my digital project, etc.

https://github.com/statueofdavid/david-bb-site/commit/bf103714a4a95b12ab050591ea9008b170403ab0

statueofdavid commented 3 months ago

https://github.com/statueofdavid/david-bb-site/commit/bf103714a4a95b12ab050591ea9008b170403ab0

^^^ just in case.