Code Monkey home page Code Monkey logo

html5accessibility's Introduction

HTML5accessibility

HTML5accessibility.com web site and related files

The MIT License (MIT)

Copyright (c) [2014] [Steve Faulkner]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

html5accessibility's People

Contributors

alrra avatar coliff avatar cookiecrook avatar cvrebert avatar dashdashzako avatar dstorey avatar galopin avatar gericci avatar hollsk avatar hoyce avatar illusionmh avatar melanierichards avatar nschonni avatar patrickhlauke avatar scottaohara avatar shadow-chunli avatar shoffing avatar sidvishnoi avatar stevefaulkner 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

html5accessibility's Issues

Would be possible update the results?

Hello. First of all, thank you very much for creating HTML5 Accessibility.

I would like to know if the page will be updated with the results adapted to the new versions of the browsers.

For example, the table shows the test results for Safari 13. However, Safari 16 has been out for quite some time now.

The same goes for the other browsers.

Captura de pantalla 2023-05-12 a las 14 05 27

<time> element note should be updated

Presumably Chrome supports this as it has a green check and the linked bug is marked as fixed, so note should be updated. (not sure best way to verify if FF or Chrome support a feature)

Doesn't work in windows high contrast mode

All the checkmarks etc are background images. In windows high contrast mode they all disappear and the equivalent text is not shown. Either use content images (::before{content:....}) , regular inline images with alt text or add a high contrast detection routine which shows the text instead when in high contrast mode.

How to check older browser versions?

I currently need to check the support for older browser versions, especially FF 45.7 on Windows 7. Any advice on how to get this information?

Thanks in advance.

Enable datetime-local test?

This element is supported by Chrome and Edge. It was removed from the W3C version of the spec but remains in the WHATWG version. We (Edge) implemented it because we wanted to be interoperable, and there is usage due to being in Chrome. No browser supports "datatime" (sans-local). My understanding is the local version has more use cases too and less problems, but I don't know the details myself.

When we do the work to firm up our date control accessibility to remove any rough edges, we'll be doing the same for datetime-local.

Missing BG images in WHCM

Some critical background images are missing when in Windows High Contrast Mode.

  • browser logos at the top,
  • feature support key.

I've added screen shots in IE11 on Windows 8 for each. I also added a screen shot of a border overlap in the footer.

I understand that in later versions of Edge background images will be displayed when a user is in Windows High Contrast Mode.

virtualbox_ie11 - win8 1_21_04_2016_11_50_45
virtualbox_ie11 - win8 1_21_04_2016_11_51_03
virtualbox_ie11 - win8 1_21_04_2016_11_51_16

Remove stray closing tags

Validating the page shows that there are currently two stray closing tags. An extra </td> on line 582 (after the "Accessibility Support" for the <video>), and </code> on line 1357 after the 'menu' text for <toolbar>.

Need link for Safari failing Canvas Sub-DOM criteria

Test for subDOM and why Safari gets partial in current version of HTML5A11y:

“IE, Edge, Chrome, Firefox: supports the accessible canvas element sub-DOM.
Safari: supports the accessible canvas element sub-DOM. Note: VoiceOver does not appear to announce text in canvas sub-DOM.”

As Safari wasn't listed in the first, line, I wasn't sure if it was suppose to say Safari doesn't support Sub-DOM.

Either way this needs re-testing to make sure sub-DOM still doesn't work in Safari, and if not we need to add a link to a bug report for this, so it is clear why Safari gets partial and so a fix can be tracked.

Note about Safari

There is a not about development on Safari for Windows.

Safari on Windows is no longer included as there is no active effort to implement accessibility support in this browser.

Things is, there is no active development for Safari on Windows period. Shouldn't the note reflect that?

Update data for Edge 13 for new criteria

I have a mostly complete test run for this. Just double checking some tests.Will make a PR proposal later this week with that data.

Note this isn't Edge 14 (currently in development), which includes the new accessibility work. The test only includes released browsers.

Edge 80

Great Edge 80 is added but it doesn’t make sense to compare a browser released in 2020 to counterparts released in 2017, with FF being even a beta version.

Any chance the scores can be recalculated to a March or April 2020 baseline?

Seems a bit like cherry-picking results and I couldn’t help but notice design and development is in the hands of David Storey & Melanie Richards; both working for Microsoft.

Accessible name for row headers is incorrect

Both the expand button and the code element in the row header cells in the tables are inline so the text gets concatenated without a space between in the accessible name calculation. (at least it does in FF anyway - you can check in the DOM inspector)

So my row header is "expandarticle"

Either add a space or make one of the elements a block level element.

Link to bugs for all the partial/nos

...where there is an existing bug. File bugs with vendor (or spec) where none exist, which is many of them. Need to discuss to agree if spec issue or browser issue for some of them and change accordingly.

Need icon to add to failing criteria (partial/no) with links

Probably the icon is the same for both.

Suggestions:

  • Link icon like the above, but more pretty (it has bad visual weight compared to others in github toolbar)
  • A wee bug (this would be cuter, but then I link to platform status for missing features, which are kinda not bugs, so might need different icon for those if we went for a bug)

CC @melanierichards

Missing data for Chrome and Safari?

I noticed that with the recent updates in April, Chrome and Safari now only show "?" question marks in the summary table:

Screen Shot 2020-05-20 at 1 01 33 PM

Was this intentional, or is there just some missing/pending data or tests that need to be run?

A year ago, support seemed pretty good:

Screen Shot 2020-05-20 at 12 59 08 PM

I tried to manually calculate things based on the detailed tables below, but wasn't able to figure out how the existing numbers were achieved... I'm guessing it was based on what tests were available at the time the browser was last tested. Any info you could share would be appreciated!

Formalise partial/fail criteria now sub-criteria are listed

Now we have sub-criteria it makes it more clear how a score is broken down. But we need to decide when something is a fail and when it is partial.

Most logical is if anything implemented has at least one partial then it gets an overall partial.

It could be argued that this increases scores if for example the mapping is a fail (old fail score) but part of the naming algorithm like aria-label is supported. This inflates Safari's score somewhat with new criteria (if my testing was correct), and will perhaps increase score for Edge 13 and IE11 (section elements upgraded to partial rather than fail. It is unlikely to improve Edge 14 score (actually more likely to decrease it as testing naming/desc allowed us to find a bunch of bugs). It could be better to require at least one pass in sub criteria to get a partial or no fails (e.g. all partials would get partial). This would be harder to understand though that something with a partial is not partial.

@stevefaulkner what do you think?

<time> element should be updated for IE

Says IE implements but isn't accessible, but IE and Edge both don't support <time>.

(I'd update this myself but I'm not sure how the scoring effects the final score)

Percentage calulation

How is the percentage calculated?
Why does edge has 100% when it's missing 3 features?
If we count Partial and N/A as not supported it should be:

Browser Percentage
Chrome 72.5%
Edge 92.5%
FF 67.5%
IE 10%
Safari 70%

Whereas now it is:

Browser Percentage
Chrome 92%
Edge 100%
FF 89%
IE 56%
Safari 98%

Which might be correct if N/A isn't considered in the calculation (haven't checked), but I'd argue if a feature is not applicable for some reason it should be considered as not supported.

What constitutes partial for <mark>?

Both Chrome and Firefox get partial for mark, but there are bugs open that are not resolved about making the element accessible.

Would be good to have some clarity on what is partial support. Having same info as span seems like unsupported to me, as span has no semantic value and mark does. In the mappings spec span is various flavours of "group" (which i think is the default for unknown things?) while mark is various flavours of "text".

Seems to me both should be marked as unsupported (they're just getting the default role?) Is IE (which gets unsupported) any different?

Should Chrome be partial for header?

Assuming the header note is correct still, Chrome reports header as a section role, rather than banner (if the most root element). This seems incorrect and should be rated as partial, especially if there is no difference between the global page header and child headers (article headers, section headers, etc.)

Remove aria-pressed from expand/collapse buttons

Would remove aria-pressed from the expand/collapse buttons. The attribute makes it a toggle button, in which case the label of the button shouldn't change.

From ARIA 1.1 APG 2.6 button [1]:

"Toggle button: A two-state button that can be either off (not pressed) or on (pressed). To tell assistive technologies that a button is a toggle button, specify a value for the attribute aria-pressed… Important: the label on a toggle button should never change when the state changes."

[1] https://www.w3.org/TR/2016/WD-wai-aria-practices-1.1-20160317/#button

<time> Element?

I don't see the <time> element on the page. Any plans to add it? Thanks.

Screen readers support for HTML5 and WAI-ARIA

Something I think should be crucial it's information about screen readers support for HTML5 new accessibility features, including WAI-ARIA. Right now I don't know any website like HTML5accessibility with this kind of information.

Anywhay, just a tip 😛

Browser support or note should be updated for <section>

The note mentions that Chrome supports as section role, and Firefox as a paragraph.

The later seems incorrect to me (a section is certainly not a paragraph, and usually contains multiple paragraphs plus other elements).

The former could be a typo, but if it isn't, there isn't a section role?

The spec says it should be mapped as a region (which maps to various things such as xml-roles:region or AXRoleDescription: 'region'), and discourages this if there is no accessible name (it isn't clear what it should map to if that is the case?)

Presumably Chrome/FF should be marked as partial or unsupported if they do not map to "region" or something related, or if they do, the note should be removed or updated.

Firefox should be partial (or unsupported) for <video>

Note says "keyboard support suboptimal - cannot interact with individual controls. refer to Bug 494175"

This bug is still open. Not being able to interact with the feature via the keyboard is a fairly major accessibility issue. Presumably more so for people with motor issues. It at least shouldn't be considered fully supported.

focus indicator too difficult to see

as a sighted keyboard user, i have trouble navigating through https://html5accessibility.com because the focus indicators are way too thin and not very noticeable. i had to squint and lean in very close to the screen to notice what was being focused.

screenshots from Firefox 117 on macOS 13:

consider using a solid outline with a larger outline-width.

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.