Expecting all devs to test their sites with screen readers is unrealistic.
I disagree with this but its not what we’re talking about. You said output is useless and I’m saying its obviously not. There’s zero cost to using it instead of a div so the only reason not to use it is to purposefully screw users who need accessibility features.
All those other elements give some benefit apart from accessibility
Maybe for label but p and h1 - h6 only differ from div in styles, which is another argument in my favor. If you’re willing to swap a div for one of those for visual users, swapping a div for output should be just as easy of a change.
There’s zero cost to using it instead of a div so the only reason not to use it is to purposefully screw users who need accessibility features.
No, the main reason is because people don’t know about it, because it’s an extra thing to remember for little benefit. Same reason other semantic-only tags like article get very little use.
only differ from div in styles
Err yeah the “only” do a really useful thing that lots of people want.
If output came with some nice styling and maybe animations… maybe a built in copy-to-clipboard option… then people would have used it.
I disagree with this but its not what we’re talking about. You said
outputis useless and I’m saying its obviously not. There’s zero cost to using it instead of a div so the only reason not to use it is to purposefully screw users who need accessibility features.Maybe for
labelbutpandh1-h6only differ fromdivin styles, which is another argument in my favor. If you’re willing to swap adivfor one of those for visual users, swapping adivforoutputshould be just as easy of a change.No I said it’s not very useful.
No, the main reason is because people don’t know about it, because it’s an extra thing to remember for little benefit. Same reason other semantic-only tags like
articleget very little use.Err yeah the “only” do a really useful thing that lots of people want.
If
outputcame with some nice styling and maybe animations… maybe a built in copy-to-clipboard option… then people would have used it.