Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hidden instructions for interactive examples #5489

Merged
merged 2 commits into from
May 31, 2021

Conversation

mfuji09
Copy link
Contributor

@mfuji09 mfuji09 commented May 31, 2021

What was wrong/why is this fix needed? (quick summary only)

  • remove hidden instructions for interactive examples
  • reduce some redirects

MDN URL of the main page changed

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
other 94 files in HTML references

- remove hidden instructions for interactive examples
- reduce some redirects
@mfuji09 mfuji09 requested a review from a team as a code owner May 31, 2021 03:35
@mfuji09 mfuji09 requested review from ericwbailey and removed request for a team May 31, 2021 03:35
@github-actions
Copy link
Contributor

Preview URLs

Flaws

Note! 68 documents with no flaws that don't need to be listed. 🎉

URL: /en-US/docs/Web/HTML/Element/link
Title: <link>: The External Resource Link element
on GitHub
Flaw count: 1

  • broken_links:
    • Can't resolve /en-US/docs/Correctly_Using_Titles_With_External_Stylesheets

URL: /en-US/docs/Web/HTML/Element/img
Title: <img>: The Image Embed element
on GitHub
Flaw count: 1

  • macros:
    • /en-US/docs/Glossary/scheme does not exist

URL: /en-US/docs/Web/HTML/Element/track
Title: <track>: The Embed Text Track element
on GitHub
Flaw count: 1

  • macros:
    • /en-US/docs/Web/API/HTMLTrackElement/track does not exist

URL: /en-US/docs/Web/HTML/Element/pre
Title: <pre>: The Preformatted Text element
on GitHub
Flaw count: 1

  • broken_links:
    • Can't resolve /en-US/docs/XUL/Style/monospace

URL: /en-US/docs/Web/HTML/Element/input
Title: <input>: The Input (Form Input) element
on GitHub
Flaw count: 9

  • macros:
    • /en-US/docs/Web/API/HTMLInputElement/value does not exist
    • /en-US/docs/Web/API/HTMLInputElement/valueAsNumber does not exist
    • /en-US/docs/Web/API/DOMContentLoaded does not exist
    • /en-US/docs/Web/API/HTMLInputElement/checkValidity does not exist
    • /en-US/docs/Web/API/HTMLInputElement/setCustomValidity does not exist
    • and 4 more flaws omitted

URL: /en-US/docs/Web/HTML/Element/input/image
Title: <input type="image">
on GitHub
Flaw count: 10

  • heading_links:
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • and 5 more flaws omitted

URL: /en-US/docs/Web/HTML/Element/input/range
Title: <input type="range">
on GitHub
Flaw count: 6

  • macros:
    • /en-US/docs/Web/API/HTMLInputElement/valueAsNumber does not exist
  • heading_links:
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
  • sectioning:
    • Excess <h3> tag that is NOT at root-level (id='Standards', text='Standards')

URL: /en-US/docs/Web/HTML/Element/input/week
Title: <input type="week">
on GitHub
Flaw count: 5

  • macros:
    • /en-US/docs/Web/API/HTMLInputElement/value does not exist
  • heading_links:
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag

URL: /en-US/docs/Web/HTML/Element/input/checkbox
Title: <input type="checkbox">
on GitHub
Flaw count: 4

  • macros:
    • /en-US/docs/Web/API/ValidityState/valueMissing does not exist
  • heading_links:
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag

URL: /en-US/docs/Web/HTML/Element/input/date
Title: <input type="date">
on GitHub
Flaw count: 3

  • heading_links:
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag

URL: /en-US/docs/Web/HTML/Element/input/tel
Title: <input type="tel">
on GitHub
Flaw count: 9

  • heading_links:
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • and 4 more flaws omitted

URL: /en-US/docs/Web/HTML/Element/input/email
Title: <input type="email">
on GitHub
Flaw count: 11

  • broken_links:
    • Can't resolve /en-US/docs/Web/HTML/Attributes/list
    • Can't resolve /en-US/docs/Web/HTML/Attributes/list
    • Can't resolve /en-US/docs/Web/HTML/Attributes/placeholder
  • heading_links:
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • and 3 more flaws omitted

URL: /en-US/docs/Web/HTML/Element/input/file
Title: <input type="file">
on GitHub
Flaw count: 5

  • heading_links:
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag

URL: /en-US/docs/Web/HTML/Element/input/color
Title: <input type="color">
on GitHub
Flaw count: 2

  • macros:
    • /en-US/docs/Web/API/HTMLInputElement/value does not exist
    • /en-US/docs/Web/API/HTMLInputElement/value does not exist

URL: /en-US/docs/Web/HTML/Element/input/datetime-local
Title: <input type="datetime-local">
on GitHub
Flaw count: 3

  • heading_links:
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag

URL: /en-US/docs/Web/HTML/Element/input/url
Title: <input type="url">
on GitHub
Flaw count: 10

  • macros:
    • `/home/runner/work/content/content/node_modules/@mdn/yari/kumascript/macros/page.ejs:23
      21| }
      22| %>

23| <%- await wiki.page(url, $1, $2, $3, $4) %>
24|

unable to find an HTML element with an "id" of "autocorrect" within /en-us/docs/web/html/element/input/text`

  • `/home/runner/work/content/content/node_modules/@mdn/yari/kumascript/macros/page.ejs:23
    21| }
    22| %>

23| <%- await wiki.page(url, $1, $2, $3, $4) %>
24|

unable to find an HTML element with an "id" of "mozactionhint" within /en-us/docs/web/html/element/input/text`

  • heading_links:
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • and 3 more flaws omitted

URL: /en-US/docs/Web/HTML/Element/input/text
Title: <input type="text">
on GitHub
Flaw count: 10

  • heading_links:
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • and 5 more flaws omitted

URL: /en-US/docs/Web/HTML/Element/input/number
Title: <input type="number">
on GitHub
Flaw count: 6

  • heading_links:
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • and 1 more flaws omitted

URL: /en-US/docs/Web/HTML/Element/input/time
Title: <input type="time">
on GitHub
Flaw count: 5

  • heading_links:
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag

URL: /en-US/docs/Web/HTML/Element/input/month
Title: <input type="month">
on GitHub
Flaw count: 7

  • macros:
    • /en-US/docs/Web/API/HTMLInputElement/value does not exist
    • /en-US/docs/Web/API/HTMLInputElement/value does not exist
  • heading_links:
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag

URL: /en-US/docs/Web/HTML/Element/input/submit
Title: <input type="submit">
on GitHub
Flaw count: 5

  • heading_links:
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag

URL: /en-US/docs/Web/HTML/Element/input/search
Title: <input type="search">
on GitHub
Flaw count: 13

  • macros:
    • /en-US/docs/Web/API/HTMLInputElement/value does not exist
  • heading_links:
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • and 7 more flaws omitted

URL: /en-US/docs/Web/HTML/Element/input/password
Title: <input type="password">
on GitHub
Flaw count: 11

  • macros:
    • /en-US/docs/Glossary/OS does not exist
    • /en-US/docs/Web/API/HTMLInputElement/value does not exist
    • /en-US/docs/Web/API/HTMLInputElement/selectionStart does not exist
    • /en-US/docs/Web/API/HTMLInputElement/selectionEnd does not exist
    • /en-US/docs/Web/API/HTMLInputElement/selectionDirection does not exist
  • heading_links:
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • and 1 more flaws omitted

URL: /en-US/docs/Web/HTML/Element/progress
Title: <progress>: The Progress Indicator element
on GitHub
Flaw count: 1

  • macros:
    • /en-US/docs/Web/CSS/::-ms-fill does not exist

URL: /en-US/docs/Web/HTML/Element/dl
Title: <dl>: The Description List element
on GitHub
Flaw count: 1

  • heading_links:
    • h3 heading contains an <a> tag

URL: /en-US/docs/Web/HTML/Element/s
Title: <s>
on GitHub
Flaw count: 1

  • broken_links:
    • Is currently http:// but can become https://

URL: /en-US/docs/Web/HTML/Element/b
Title: <b>: The Bring Attention To element
on GitHub
Flaw count: 1

  • broken_links:
    • Can't resolve /en-US/docs/Web/HTML/Text_level_semantics_conveying_elements

External URLs

URL: /en-US/docs/Web/HTML/Element/col
Title: <col>
on GitHub


URL: /en-US/docs/Web/HTML/Element/form
Title: <form>
on GitHub


URL: /en-US/docs/Web/HTML/Element/em
Title: <em>: The Emphasis element
on GitHub


URL: /en-US/docs/Web/HTML/Element/kbd
Title: <kbd>: The Keyboard Input element
on GitHub


URL: /en-US/docs/Web/HTML/Element/link
Title: <link>: The External Resource Link element
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTML/Element/table
Title: <table>: The Table element
on GitHub


URL: /en-US/docs/Web/HTML/Element/figcaption
Title: <figcaption>: The Figure Caption element
on GitHub


URL: /en-US/docs/Web/HTML/Element/dt
Title: <dt>: The Description Term element
on GitHub


URL: /en-US/docs/Web/HTML/Element/fieldset
Title: <fieldset>: The Field Set element
on GitHub


URL: /en-US/docs/Web/HTML/Element/ins
Title: <ins>
on GitHub


URL: /en-US/docs/Web/HTML/Element/section
Title: <section>: The Generic Section element
on GitHub


URL: /en-US/docs/Web/HTML/Element/img
Title: <img>: The Image Embed element
on GitHub


URL: /en-US/docs/Web/HTML/Element/code
Title: <code>: The Inline Code element
on GitHub


URL: /en-US/docs/Web/HTML/Element/footer
Title: <footer>
on GitHub


URL: /en-US/docs/Web/HTML/Element/button
Title: <button>: The Button element
on GitHub


URL: /en-US/docs/Web/HTML/Element/span
Title: <span>
on GitHub


URL: /en-US/docs/Web/HTML/Element/q
Title: <q>: The Inline Quotation element
on GitHub


URL: /en-US/docs/Web/HTML/Element/area
Title: <area>
on GitHub


URL: /en-US/docs/Web/HTML/Element/embed
Title: <embed>: The Embed External Content element
on GitHub


URL: /en-US/docs/Web/HTML/Element/track
Title: <track>: The Embed Text Track element
on GitHub


URL: /en-US/docs/Web/HTML/Element/object
Title: <object>
on GitHub


URL: /en-US/docs/Web/HTML/Element/summary
Title: <summary>: The Disclosure Summary element
on GitHub


URL: /en-US/docs/Web/HTML/Element/address
Title: <address>: The Contact Address element
on GitHub


URL: /en-US/docs/Web/HTML/Element/pre
Title: <pre>: The Preformatted Text element
on GitHub


URL: /en-US/docs/Web/HTML/Element/samp
Title: <samp>: The Sample Output element
on GitHub


URL: /en-US/docs/Web/HTML/Element/header
Title: <header>
on GitHub


URL: /en-US/docs/Web/HTML/Element/tbody
Title: <tbody>: The Table Body element
on GitHub


URL: /en-US/docs/Web/HTML/Element/cite
Title: <cite>: The Citation element
on GitHub


URL: /en-US/docs/Web/HTML/Element/li
Title: <li>
on GitHub


URL: /en-US/docs/Web/HTML/Element/input
Title: <input>: The Input (Form Input) element
on GitHub


URL: /en-US/docs/Web/HTML/Element/input/image
Title: <input type="image">
on GitHub


URL: /en-US/docs/Web/HTML/Element/input/range
Title: <input type="range">
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTML/Element/input/week
Title: <input type="week">
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTML/Element/input/checkbox
Title: <input type="checkbox">
on GitHub


URL: /en-US/docs/Web/HTML/Element/input/date
Title: <input type="date">
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTML/Element/input/button
Title: <input type="button">
on GitHub


URL: /en-US/docs/Web/HTML/Element/input/tel
Title: <input type="tel">
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTML/Element/input/email
Title: <input type="email">
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTML/Element/input/file
Title: <input type="file">
on GitHub


URL: /en-US/docs/Web/HTML/Element/input/color
Title: <input type="color">
on GitHub

No external URLs


URL: /en-US/docs/Web/HTML/Element/input/datetime-local
Title: <input type="datetime-local">
on GitHub


URL: /en-US/docs/Web/HTML/Element/input/radio
Title: <input type="radio">
on GitHub


URL: /en-US/docs/Web/HTML/Element/input/url
Title: <input type="url">
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTML/Element/input/text
Title: <input type="text">
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTML/Element/input/number
Title: <input type="number">
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTML/Element/input/time
Title: <input type="time">
on GitHub


URL: /en-US/docs/Web/HTML/Element/input/month
Title: <input type="month">
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTML/Element/input/submit
Title: <input type="submit">
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTML/Element/input/search
Title: <input type="search">
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTML/Element/input/reset
Title: <input type="reset">
on GitHub

No external URLs


URL: /en-US/docs/Web/HTML/Element/input/password
Title: <input type="password">
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTML/Element/iframe
Title: <iframe>: The Inline Frame element
on GitHub


URL: /en-US/docs/Web/HTML/Element/ol
Title: <ol>: The Ordered List element
on GitHub


URL: /en-US/docs/Web/HTML/Element/details
Title: <details>: The Details disclosure element
on GitHub


URL: /en-US/docs/Web/HTML/Element/mark
Title: <mark>: The Mark Text element
on GitHub


URL: /en-US/docs/Web/HTML/Element/ul
Title: <ul>: The Unordered List element
on GitHub


URL: /en-US/docs/Web/HTML/Element/picture
Title: <picture>: The Picture element
on GitHub


URL: /en-US/docs/Web/HTML/Element/source
Title: <source>: The Media or Image Source element
on GitHub


URL: /en-US/docs/Web/HTML/Element/legend
Title: <legend>
on GitHub


URL: /en-US/docs/Web/HTML/Element/style
Title: <style>: The Style Information element
on GitHub


URL: /en-US/docs/Web/HTML/Element/label
Title: <label>
on GitHub


URL: /en-US/docs/Web/HTML/Element/progress
Title: <progress>: The Progress Indicator element
on GitHub


URL: /en-US/docs/Web/HTML/Element/Heading_Elements
Title: <h1>–<h6>: The HTML Section Heading elements
on GitHub


URL: /en-US/docs/Web/HTML/Element/tfoot
Title: <tfoot>: The Table Foot element
on GitHub


URL: /en-US/docs/Web/HTML/Element/map
Title: <map>
on GitHub


URL: /en-US/docs/Web/HTML/Element/article
Title: <article>: The Article Contents element
on GitHub


URL: /en-US/docs/Web/HTML/Element/br
Title: <br>: The Line Break element
on GitHub


URL: /en-US/docs/Web/HTML/Element/wbr
Title: <wbr>
on GitHub


URL: /en-US/docs/Web/HTML/Element/datalist
Title: <datalist>: The HTML Data List element
on GitHub


URL: /en-US/docs/Web/HTML/Element/dl
Title: <dl>: The Description List element
on GitHub


URL: /en-US/docs/Web/HTML/Element/main
Title: <main>
on GitHub


URL: /en-US/docs/Web/HTML/Element/i
Title: <i>: The Idiomatic Text element
on GitHub


URL: /en-US/docs/Web/HTML/Element/td
Title: <td>: The Table Data Cell element
on GitHub


URL: /en-US/docs/Web/HTML/Element/bdi
Title: <bdi>: The Bidirectional Isolate element
on GitHub


URL: /en-US/docs/Web/HTML/Element/optgroup
Title: <optgroup>
on GitHub


URL: /en-US/docs/Web/HTML/Element/thead
Title: <thead>: The Table Head element
on GitHub


URL: /en-US/docs/Web/HTML/Element/div
Title: <div>: The Content Division element
on GitHub


URL: /en-US/docs/Web/HTML/Element/option
Title: <option>: The HTML Option element
on GitHub


URL: /en-US/docs/Web/HTML/Element/aside
Title: <aside>: The Aside element
on GitHub


URL: /en-US/docs/Web/HTML/Element/textarea
Title: <textarea>
on GitHub


URL: /en-US/docs/Web/HTML/Element/video
Title: <video>: The Video Embed element
on GitHub


URL: /en-US/docs/Web/HTML/Element/tr
Title: <tr>: The Table Row element
on GitHub


URL: /en-US/docs/Web/HTML/Element/figure
Title: <figure>: The Figure with Optional Caption element
on GitHub


URL: /en-US/docs/Web/HTML/Element/s
Title: <s>
on GitHub


URL: /en-US/docs/Web/HTML/Element/small
Title: <small>: the side comment element
on GitHub


URL: /en-US/docs/Web/HTML/Element/th
Title: <th>
on GitHub


URL: /en-US/docs/Web/HTML/Element/audio
Title: <audio>: The Embed Audio element
on GitHub


URL: /en-US/docs/Web/HTML/Element/a
Title: <a>: The Anchor element
on GitHub


URL: /en-US/docs/Web/HTML/Element/blockquote
Title: <blockquote>: The Block Quotation element
on GitHub


URL: /en-US/docs/Web/HTML/Element/abbr
Title: <abbr>: The Abbreviation element
on GitHub


URL: /en-US/docs/Web/HTML/Element/b
Title: <b>: The Bring Attention To element
on GitHub


URL: /en-US/docs/Web/HTML/Element/rt
Title: <rt>: The Ruby Text element
on GitHub


URL: /en-US/docs/Web/HTML/Element/select
Title: <select>: The HTML Select element
on GitHub


URL: /en-US/docs/Web/HTML/Element/colgroup
Title: <colgroup>
on GitHub


URL: /en-US/docs/Web/HTML/Element/p
Title: <p>: The Paragraph element
on GitHub

@sideshowbarker sideshowbarker changed the title Removing hidden instructions for interactive examples in HTML references Remove hidden instructions for interactive examples May 31, 2021
@sideshowbarker sideshowbarker merged commit 2bfb6c1 into mdn:main May 31, 2021
@mfuji09 mfuji09 deleted the 20210531-remove-hidden-instructions branch May 31, 2021 16:27
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants