Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 11 years, 5 months ago. Active 11 years, 5 months ago. Viewed 26k times. Improve this question. Community Bot 1 1 1 silver badge. Jitendra Vyas Jitendra Vyas k gold badges silver badges bronze badges. This is very similar to your own question: stackoverflow. The sample you provided, has no semantic meaning. And indeed, that's a bad sample, as we cannot distill the semantic meaning of the words in that text at least I cannot.
Add a comment. Active Oldest Votes. It has semantic meaning, but could look like anything. Improve this answer. Chris Chris 6, 3 3 gold badges 19 19 silver badges 21 21 bronze badges. This is not my question. It's not ideal, and not something I personally would do, but it works I've never had to bold certain parts of a paragraph just for presentational effect so I can't give you a complete guide here.
This is a big shift, especially for content contributors, but necessary to provide an equal experience for all users. It serves as an indication to a screen reader of how something should be understood. This is especially critical when the tag helps to convey special meaning for the words or phrases being highlighted. If you strive to make your online content accessible, aim for replacing bold tags with strong tags where applicable.
But as we have identified, bold tags are not announced to screen reader users. Additionally, heading tags are an essential way for screen reader users to scan a page. Using short-cut keys, the screen reader would read all the headings on the page so that the user can navigate quickly to.
Don't they both do the same thing? Not exactly. Each element is meant to be used in certain types of scenarios, and if you want to bold text for decoration, you should instead actually use the CSS font-weight property.
The intended meaning or purpose of the enclosed text should be what determines which element you use. Communicating meaning is what semantics are all about. This is very dangerous.
0コメント