#accessibility question:

I'm writing a plain #HTML webpage, and I'd like to write two lists. One of arguments, and one of counter-arguments. I'd like each element in the second list to reference its corresponding argument in the first list.

For sighted-folks, I think using strikethrough text is a good way to get the effect I want. In markdown it would look something like:

Arguments:
- argument1
- argument2

Counters:
- ~argument1~ counter-1
- ~argument2~ counter-2

However, in HTML I have more options than just using the tilde that markdown gives me. I could use a `s` tag to indicate strikethrough text. Or I could use a `del` tag to indicate deleted text.

My reading of MDN[1] suggests that in my case `s` is more appropriate, but if there's anyone with more experience with #screenreader or #braille tech, I'd love to hear any advice.

[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements

HTML elements reference - HTML | MDN

This page lists all the HTML elements, which are created using tags.

MDN Web Docs
@totherme Isn't <s> deprecated? anyway, screen readers would read it the same or roughly the same.

@menelion Thanks!

I'll look harder into whether `s` is deprecated. The paragraph I saw on MDN just said the following:

"""
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.
"""

I'd been leaning towards `s` because I like that phrase "no longer relevant or accurate" for my use case. I'm not building an editor or describing an edit or patch, so not sure about `del`.

But as you say, if they render the same on the screenreader, it might be moot.

Thanks again.

@menelion Ah, it turns out that `strike` was deprecated in favour of `s` and `del`.

So my current preference is for `s` I think.