Redundant hidden paragraphs in content
See original GitHub issueSee https://github.com/mdn/yari/blob/0f25d1ca46bf1300863f9dd05a5e6dbe7ae3101b/content/files/en-us/web/html/element/video/index.html#L32
That <p>
of text is repeated 923 times across all en-US
content.
And https://github.com/mdn/yari/blob/0f25d1ca46bf1300863f9dd05a5e6dbe7ae3101b/content/files/en-us/web/html/element/video/index.html#L448
That <div>
is repeated 2098 times.
First of all, what’s the point of it? Why is it even there? Why is visually hidden?
I think we should delete these lines and if it’s deemed strongly useful, we should add it to the InteractiveExample.ejs
macro etc.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Visually hide redundant text as needed
If you have content that helps some users understand the context of link, section, feature, etc., use a .visually–hidden class on the redundant...
Read more >3 Types of Redundant Writing and How to Avoid Them
In the context of writing, redundancy characterizes text that, in one way or another, presents more than what is needed to achieve the ......
Read more >See No Evil: Hidden Content and Accessibility - Cloud Four
This technique is most often used when a site is dynamically showing and hiding content, like a popup or accordion. You may need...
Read more >how to prevent redundant text being read in screen reader?
I've tried the following using Chrome on a Samsung Galaxy S10 with TalkBack (Android 11): <ul> <li class="relatedFeatured"> <a ...
Read more >Hide or Display Text in MS Word - YouTube
How to Reveal Hidden Text in Microsoft WordShow or hide Text in Microsoft Word. Sometimes we need to hide some unnecessary data while ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah yes, I get it now. And yes, totally agreed. Go for it!
I don’t know exactly how I measured but I noticed that there’s variants like this:
The compatibility table on this page is...
The compatibility table in this page is...
(note the difference in “on” vs “in”) Just goes to show the importance of DRY 😃 I’m “regexing” for both strings.