Giter Club home page Giter Club logo

aria-devtools's People

Contributors

arminbashizade avatar ctemplin avatar dependabot[bot] avatar mass8326 avatar pcorpet avatar superman32432432 avatar ziolko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aria-devtools's Issues

[Bug] Extension throws error due to table

Hi, great extension! Love using it.

On https://news.ycombinator.com/item?id=28167012, when clicking on the extension icon, for a moment the website turns black and then switches to normal again. The following is displayed in the console:

TypeError: a.rows[s] is undefined
    l moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:74
    get moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:74
    Se moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    computeValue moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    trackAndCompute moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    get moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    read moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    get moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    get moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:74
    get moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:74
    get moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:74
    Se moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    computeValue moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    trackAndCompute moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    get moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    read moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    get moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    get moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:74
    Se moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    computeValue moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    trackAndCompute moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    get moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    read moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    get moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    get moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:74
    Se moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    computeValue moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    trackAndCompute moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    get moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    read moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    get moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    get moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:74
    C moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:114
    i moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:46
    m moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:46
    Se moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    track moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:44
    m moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:46
    i moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:46
    Si moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:12
    uo moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:12
    io moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:12
    ao moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:12
    Bo moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:12
    Qu moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:12
    Bu moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:12
    Iu moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:12
    sa moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:12
    unstable_runWithPriority moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:8
    ia moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:12
    sa moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:12
    ca moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:12
    Zu moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:12
    unstable_runWithPriority moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:8
    ia moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:12
    Gu moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:12
    Xu moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:12
    E moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:8
    onmessage moz-extension://d940bee7-cd33-d94f-baf3-2772ad7ba355/inject.js:8

I am on Firefox 90.0.2 (macOS). I expected that the extension doesn't throw an error and maybe display the usual content (even tho the websites still uses tables for the layout).

Crash on Google Flights Page

I was testing with this tool to understand it in the context of a full ARIA implementation, and was trying on a Google Flights page: https://www.google.com/travel/flights/s/dWU2

Seems to work fine on flights.google.com but breaks once you get into the search. I'll try cloning and messing with the source code, but I've never done any Chrome extension work and am new to ARIA, so I'm afraid its above my paygrade!

9inject.js:12 TypeError: Cannot read properties of undefined (reading 'trim')
    at B (inject.js:166:2002)
    at Array.map (<anonymous>)
    at B (inject.js:166:1935)
    at inject.js:116:1948
    at inject.js:44:3245
    at inject.js:44:3074
    at Se (inject.js:42:10232)
    at e.track (inject.js:42:22134)
    at m (inject.js:44:3051)
    at i (inject.js:44:3225)
_o @ inject.js:12
inject.js:8 Uncaught TypeError: Cannot read properties of undefined (reading 'trim')
    at B (inject.js:166:2002)
    at Array.map (<anonymous>)
    at B (inject.js:166:1935)
    at inject.js:116:1948
    at inject.js:44:3245
    at inject.js:44:3074
    at Se (inject.js:42:10232)
    at e.track (inject.js:42:22134)
    at m (inject.js:44:3051)
    at i (inject.js:44:3225)

Duplicated labels when `input`/`label` pairings are siblings

Hi,

Great project, very useful :)

I wanted to check this behaviour is intentional ...

If I have the following bit of HTML

<label>
  <input type="radio" />
  Some text
</label>

Then we get the following result in the preview ...

image

However if I have the following HTML (which is also a valid) ...

<input id="my-radio" type="radio" />
<label for="my-radio'>Some text</label>

Then the output looks like ...

image

You can see the label text is duplicated

This is being raised as a bug in my project and I wanted to know if it really is what a screenreader would render?

Cheers,
Brendan

First heading one the page should be h1 but is h2

This issue pops up when the first heading in the DOM is not an h1.
This is a false positive, because it's totally fine to have an h2 first depending on where it appears in the markup.

For example, a nav element (that usually precedes the main content) should have a heading and this is often an h2 as there really should only be one h1 (reserved for the main content / page title).

It might be better to check for the amount of h1's and/or check it's within the main of the page.

More info: https://usability.yale.edu/web-accessibility/articles/headings

Experimental (beta) versions as Github releases

Hi @ziolko,
thanks for this nice extension!

Would you mind to add experimental/beta versions of the extension here on Github?
These could be the next releases that'll eventually be published on the addon/extensions sites of Mozilla/Google but w/o waiting for their approval/publish cycle.

This would also allow you to get more people to test new features or confirm that bugs are fixed.

Thank you!

Show aria-current

Indicate in a link tree (e.g. navigation

    list) if a link has aria-current="page" set.

    This would be helpful in identifying if the aria-current is properly set!

    Screenshot 2023-11-20 at 14 20 22

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.