René's URL Explorer Experiment


Title: Add lint rule to make sure `

` elements have a `` element by koddsson · Pull Request #23 · github/erblint-github · GitHub

Open Graph Title: Add lint rule to make sure `

` elements have a `` element by koddsson · Pull Request #23 · github/erblint-github

X Title: Add lint rule to make sure `

` elements have a `` element by koddsson · Pull Request #23 · github/erblint-github

Description: Hey 👋🏻 Here's a rule that makes sure that

elements have a element as well. While a
element doesn't need to have a element, it's good practice to provide one and not let the user agent inject one. Details elements should have a descriptive element instead. I haven't written a rule that checks the child elements of a element before so I'm happy to make revisions if I'm doing the child querying incorrectly.

Open Graph Description: Hey 👋🏻 Here's a rule that makes sure that <details> elements have a <summary> element as well. While a <details> element doesn't need to have a <summary> element, it...

X Description: Hey 👋🏻 Here&#39;s a rule that makes sure that &lt;details&gt; elements have a &lt;summary&gt; element as well. While a &lt;details&gt; element doesn&#39;t need to ha...

Opengraph URL: https://github.com/github/erblint-github/pull/23

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:37095d29-6fa4-a39d-a7ef-03e2a8b84150
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8D2C:1CD5:163A39:1C6D23:698D40C5
html-safe-nonce6ef0a51410f42e6ceed688a4686f10a5579b9da55e709bde98dcbf3bd4718321
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDJDOjFDRDU6MTYzQTM5OjFDNkQyMzo2OThENDBDNSIsInZpc2l0b3JfaWQiOiI1NTQ3NTY0MjE3MjQ0OTI2MTQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac02d98edd43cae1f9d7134488ce71cd91d6ec7ff7b8ace5b73f06f4c400a63b15
hovercard-subject-tagpull_request:879457525
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/github/erblint-github/pull/23/files
twitter:imagehttps://avatars.githubusercontent.com/u/318208?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/318208?s=400&v=4
og:image:altHey 👋🏻 Here's a rule that makes sure that <details> elements have a <summary> element as well. While a <details> element doesn't need to have a <summary> element, it...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec0818105fa276287e9369cfdefa0a0fa7953719791ceff9b94d69623c0a4fe8a
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/github/erblint-github git https://github.com/github/erblint-github.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id419022203
octolytics-dimension-repository_nwogithub/erblint-github
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id419022203
octolytics-dimension-repository_network_root_nwogithub/erblint-github
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebc912d4349851e5f32c76bbb213754e40947d7a6
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Ferblint-github%2Fpull%2F23%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Ferblint-github%2Fpull%2F23%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=github%2Ferblint-github
Reloadhttps://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files
Reloadhttps://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files
Reloadhttps://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files
github https://patch-diff.githubusercontent.com/github
erblint-githubhttps://patch-diff.githubusercontent.com/github/erblint-github
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub%2Ferblint-github
Fork 9 https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub%2Ferblint-github
Star 61 https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub%2Ferblint-github
Code https://patch-diff.githubusercontent.com/github/erblint-github
Issues 6 https://patch-diff.githubusercontent.com/github/erblint-github/issues
Pull requests 1 https://patch-diff.githubusercontent.com/github/erblint-github/pulls
Discussions https://patch-diff.githubusercontent.com/github/erblint-github/discussions
Actions https://patch-diff.githubusercontent.com/github/erblint-github/actions
Projects 0 https://patch-diff.githubusercontent.com/github/erblint-github/projects
Models https://patch-diff.githubusercontent.com/github/erblint-github/models
Security 0 https://patch-diff.githubusercontent.com/github/erblint-github/security
Insights https://patch-diff.githubusercontent.com/github/erblint-github/pulse
Code https://patch-diff.githubusercontent.com/github/erblint-github
Issues https://patch-diff.githubusercontent.com/github/erblint-github/issues
Pull requests https://patch-diff.githubusercontent.com/github/erblint-github/pulls
Discussions https://patch-diff.githubusercontent.com/github/erblint-github/discussions
Actions https://patch-diff.githubusercontent.com/github/erblint-github/actions
Projects https://patch-diff.githubusercontent.com/github/erblint-github/projects
Models https://patch-diff.githubusercontent.com/github/erblint-github/models
Security https://patch-diff.githubusercontent.com/github/erblint-github/security
Insights https://patch-diff.githubusercontent.com/github/erblint-github/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fgithub%2Ferblint-github%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fgithub%2Ferblint-github%2Fissues%2Fnew%2Fchoose
koddssonhttps://patch-diff.githubusercontent.com/koddsson
github:mainhttps://patch-diff.githubusercontent.com/github/erblint-github/tree/main
koddsson:add-details-has-summary-rulehttps://patch-diff.githubusercontent.com/koddsson/erblint-github/tree/add-details-has-summary-rule
Conversation 14 https://patch-diff.githubusercontent.com/github/erblint-github/pull/23
Commits 15 https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/commits
Checks 0 https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/checks
Files changed https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files
Please reload this pagehttps://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files
Add lint rule to make sure
elements have a element
https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files#top
Show all changes 15 commits https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files
f0de67f Add test to make sure `
` elements have a `` element koddsson Mar 14, 2022
https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/commits/f0de67f45cf73a7c674c6fc45707362ec4cd549c
a10071a Use `each_with_index` to get the index of tag koddsson Mar 15, 2022 https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/commits/a10071a7d4706c9d08c9b068f5c2318c59b4a023
de0c088 Simplify iterating through children koddsson Mar 15, 2022 https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/commits/de0c0880329132b71bd02d7af8995066baf320b6
43bd2da Update test name koddsson Mar 15, 2022 https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/commits/43bd2dabe0685cb76a910b702d5bc6ae8059440f
963ed23 Add a test for when the `` is in a weird place koddsson Mar 15, 2022 https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/commits/963ed23bf7c04088855ac8498742fd885726c82c
8d42625 Add docs on the `DetailsHasSummary` rule koddsson Mar 15, 2022 https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/commits/8d42625489b7a71ca116d611cc98ef40d689be0a
8abd503 Update rule description a bit koddsson Mar 15, 2022 https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/commits/8abd5035b11b42d8ee49e161d44eaed8ba60e6ef
aae4f1f Remove unused `each_with_index` koddsson Mar 15, 2022 https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/commits/aae4f1f344bdbc164a62a91ce14839efd4a8be02
bb572de Fix rubocop violations koddsson Mar 15, 2022 https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/commits/bb572de5c23b3296dc28bb1a45e5f47baf5a85f1
f4d75a9 Add TagTreeHelpers from PVC to actually build a tag tree structure manuelpuyol Mar 15, 2022 https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/commits/f4d75a96f54bc870e620accfd066de7fb677d3ea
6491bcc Search for details with summaries using the tag_tree manuelpuyol Mar 15, 2022 https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/commits/6491bcc603e6bafbea647b936910068408d37c53
afd2917 Add another incorrect example koddsson Mar 15, 2022 https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/commits/afd2917331abe2c0b7c96f379b27889ef9b9c0b8
185195f fix speling Mar 16, 2022 https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/commits/185195f9ae4fb46e3b4595871b27eb6b079d9856
3a802dc Add a test for tag_tree_helpers koddsson Mar 17, 2022 https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/commits/3a802dcc4f4e41f8ef2ca3b81804b9f13d8c0b9e
4e12784 add tests for content_tag manuelpuyol Mar 22, 2022 https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/commits/4e12784e36a2da4b331f536829622fa7ed292abf
Clear filters https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files
Please reload this pagehttps://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files
Please reload this pagehttps://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files
README.md https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
details-has-summary.md https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files#diff-3e7332eca93bcbd29a09ec3a251d8c37419311410cf3cabafd6713e1b2a4aaca
details_has_summary.rb https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files#diff-02b15b49ec5f0f090c8b8c8875ff98be2e1f88bc7db6dcebee359fa2cd39b0db
tag_tree_helpers.rb https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files#diff-a9d9c568591002c0bd16d05fc59d1ee9f58b4a939a5f30a7a96ddfcb5449fb1f
details_has_summary_test.rb https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files#diff-029c8e5a373367e3af50da0a73d57ad8687599f6f480e67741ca385c390a552c
tag_tree_helpers_test.rb https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files#diff-0d796be394baa773cbda96c8e4b7084836e15d562f4f2fd30429d9a09aef9206
https://patch-diff.githubusercontent.com/github/erblint-github/blob/main/CODEOWNERS#L1
README.mdhttps://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://patch-diff.githubusercontent.com/github/erblint-github/blob/4e12784e36a2da4b331f536829622fa7ed292abf/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://patch-diff.githubusercontent.com/github/erblint-github/blob/main/CODEOWNERS#L1
docs/rules/accessibility/details-has-summary.mdhttps://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files#diff-3e7332eca93bcbd29a09ec3a251d8c37419311410cf3cabafd6713e1b2a4aaca
View file https://patch-diff.githubusercontent.com/github/erblint-github/blob/4e12784e36a2da4b331f536829622fa7ed292abf/docs/rules/accessibility/details-has-summary.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/{{ revealButtonHref }}
khiga8https://patch-diff.githubusercontent.com/khiga8
Mar 15, 2022https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files#r827447695
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files
https://patch-diff.githubusercontent.com/github/erblint-github/blob/main/CODEOWNERS#L1
lib/erblint-github/linters/github/accessibility/details_has_summary.rbhttps://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files#diff-02b15b49ec5f0f090c8b8c8875ff98be2e1f88bc7db6dcebee359fa2cd39b0db
View file https://patch-diff.githubusercontent.com/github/erblint-github/blob/4e12784e36a2da4b331f536829622fa7ed292abf/lib/erblint-github/linters/github/accessibility/details_has_summary.rb
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/github/erblint-github/blob/main/CODEOWNERS#L1
lib/erblint-github/linters/tag_tree_helpers.rbhttps://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files#diff-a9d9c568591002c0bd16d05fc59d1ee9f58b4a939a5f30a7a96ddfcb5449fb1f
View file https://patch-diff.githubusercontent.com/github/erblint-github/blob/4e12784e36a2da4b331f536829622fa7ed292abf/lib/erblint-github/linters/tag_tree_helpers.rb
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/{{ revealButtonHref }}
khiga8https://patch-diff.githubusercontent.com/khiga8
Mar 15, 2022https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files#r827453287
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files
koddssonhttps://patch-diff.githubusercontent.com/koddsson
Mar 16, 2022https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files#r828050837
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@manuelpuyolhttps://github.com/manuelpuyol
Please reload this pagehttps://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files
https://patch-diff.githubusercontent.com/github/erblint-github/blob/main/CODEOWNERS#L1
test/linters/accessibility/details_has_summary_test.rbhttps://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files#diff-029c8e5a373367e3af50da0a73d57ad8687599f6f480e67741ca385c390a552c
View file https://patch-diff.githubusercontent.com/github/erblint-github/blob/4e12784e36a2da4b331f536829622fa7ed292abf/test/linters/accessibility/details_has_summary_test.rb
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/github/erblint-github/blob/main/CODEOWNERS#L1
test/linters/tag_tree_helpers_test.rbhttps://patch-diff.githubusercontent.com/github/erblint-github/pull/23/files#diff-0d796be394baa773cbda96c8e4b7084836e15d562f4f2fd30429d9a09aef9206
View file https://patch-diff.githubusercontent.com/github/erblint-github/blob/4e12784e36a2da4b331f536829622fa7ed292abf/test/linters/tag_tree_helpers_test.rb
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/github/erblint-github/pull/23/{{ revealButtonHref }}
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.