question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Redundant hidden paragraphs in content

See original GitHub issue

See 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:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
chrisdavidmillscommented, Sep 14, 2020

Ah yes, I get it now. And yes, totally agreed. Go for it!

0reactions
peterbecommented, Sep 14, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found