@miranleginSubmitted about 2 years ago
Hi all,
what would be the best way to markup the "old price" for accessibility purposes?
Thanks, Miran
Hi all,
what would be the best way to markup the "old price" for accessibility purposes?
Thanks, Miran
Hi, congratulation on finishing this challenge.
"what would be the best way to markup the "old price" for accessibility purposes?"
I read that using <s> is semantically better.
This is what MDN doc says
"The <s> HTML element renders text with a strikethrough, or a line through it. Use the <s> element to represent things that are no longer relevant or no longer accurate. However, <s> is not appropriate when indicating document edits; for that, use the <del> and <ins> elements, as appropriate."
A small feedback.
Submit button and rating numbers have pointer: cursor;
to improve on accessibility.