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.

Confused about tags being included in this report

See original GitHub issue

axe https://decide.madrid.es/participatory_budget --save decide.json

Will return the following JSON:

[
  {
    "violations": [
      {
        "id": "document-title",
        "impact": "moderate",
        "tags": [
          "cat.text-alternatives",
          "wcag2a",
          "wcag242"
        ],
        "description": "Ensures each HTML document contains a non-empty <title> element",
        "help": "Documents must have <title> element to aid in navigation",
        "helpUrl": "https://dequeuniversity.com/rules/axe/2.2/document-title?application=webdriverjs",
        "nodes": [
          {
            "any": [
              {
                "id": "doc-has-title",
                "data": null,
                "relatedNodes": [],
                "impact": "moderate",
                "message": "Document does not have a non-empty <title> element"
              }
            ],
            "all": [],
            "none": [],
            "impact": "moderate",
            "html": "<html class=\"deque-axe-is-ready\">",
            "target": [
              ".deque-axe-is-ready"
            ]
          }
        ]
      },
      {
        "id": "html-has-lang",
        "impact": "serious",
        "tags": [
          "cat.language",
          "wcag2a",
          "wcag311"
        ],
        "description": "Ensures every HTML document has a lang attribute",
        "help": "<html> element must have a lang attribute",
        "helpUrl": "https://dequeuniversity.com/rules/axe/2.2/html-has-lang?application=webdriverjs",
        "nodes": [
          {
            "any": [
              {
                "id": "has-lang",
                "data": null,
                "relatedNodes": [],
                "impact": "serious",
                "message": "The <html> element does not have a lang attribute"
              }
            ],
            "all": [],
            "none": [],
            "impact": "serious",
            "html": "<html class=\"deque-axe-is-ready\">",
            "target": [
              ".deque-axe-is-ready"
            ]
          }
        ]
      }
    ],
    "passes": [],
    "incomplete": [],
    "inapplicable": [],
    "timestamp": "2017-04-29T21:48:08.398Z",
    "url": "about:blank"
  }
]

Is it a bug that cat.text-alternatives and cat.language are being included in the tags? I thought the tags would only refer to the rules being applied.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
marcysuttoncommented, Apr 30, 2017

That is not a bug; those are for our internal software. You can disregard those tags.

0reactions
jaimeiniestacommented, May 2, 2017

@WilcoFiers, ah, cool, then they don’t need to be hidden, they’re going to be public. Then yes, we do need to document what they are 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

What to do if you get an alert that an AirTag, Find My network ...
Turn Significant Locations on to be notified when you arrive at a significant location, such as your home. Go to Settings > Bluetooth...
Read more >
H1 tag and Title question for Google News articles
It's not unusual for sites to include their publication name in the title tag, and generally it isn't included in the news headline...
Read more >
The Complexity & Confusion Of Tracking Without Tag ...
Google AdWords alone has multiple tag types, include conversion tags, remarketing tags and custom audience tags. The Most Common Types Of Tags.
Read more >
Google Tag Manager vs Google Analytics
Google Tag Manager lets you manage various Javascript tracking codes (also known as Tags) on your website. Google Analytics tracking code is one ......
Read more >
PMC Tagging Guidelines - NCBI - NIH
These Document Objects refer to parts of the article (author/affiliation relationships, copyright information) and often include several XML elements in their ...
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