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
CSS pixels: How to measure CSS pixel equivalents for systems with closed functionality #227
Comments
The equivalent concept to the CSS pixel for macOS (and iOS/iPadOS) software development is the "point" |
Right. I'm asking about how to measure the CSS pixel equivalents for macOS software, Window software, or systems with closed functionality for testing purposes. |
Thank you for taking the time to review the WCAG2ICT public draft. Our task force will review your comment and develop a response that we hope will address your concern. The response will be drafted in a comment on this issue, marked DRAFT RESPONSE until the Task Force reaches consensus. |
The comment relates to issue #200 |
There are pixel rules apps for some platforms like Android and Windows that display a pixel rule as an overlay on top of the software being tested - this likely would only work for open software and not closed software. |
However, you may not want a "pixel ruler", but an "Apple's |
Not all non web software or closed systems have a css pixel equivalent. When an equivalent does not exist SC with css should not apply. |
Can you assign this to me! |
Not if you are not in the WCAG2ICT Task Force. |
@Mstanic05, thanks for your earlier offer. We welcome any feedback that you might wish to contribute. However, @maryjom is correct that our Task Force will be responsible for answering the public comments on our FPWD (First Public Working Draft). |
I have split this request into two parts. The present issue will address only closed functionality. Issue #200 will address macOS and Windows software. |
@maryjom, as we discussed I've unassigned myself from this issue, so I can concentrate on other issues. In our weekly call we'll make sure to get it reassigned. Following are my views. @samogami wrote:
The first sentence is certainly true. Regarding the second sentence, "not apply": This is not WCAG2ICT Task Force consensus. Rather, our draft Applying "CSS pixel" to Non-Web Documents and Software says the following, which I predict for closed functionality will be the more common of the two measures:
This is the same calculation as for CSS pixels in web content. A web page can render in browsers on with a wide variety of devices, with viewing distances and form factors ranging from wearables to smart TVs. So viewing distance calculations should yield results within similar ranges for closed functionality that they do for web content. That said, the original question was not just about "how to calculate" but also "how to measure". On this I agree with Mary Jo's comment in issue 200:
|
This comment was marked as outdated.
This comment was marked as outdated.
Changes agreed from task force meeting today: Change penultimate paragraph: Add sentence: |
FINAL TASK FORCE REPLY: Thank you for your question about how to measure a CSS pixel. As noted in my 2023-12-03 edit to the issue, we will address only closed functionality in the present issue. (For the other half of your question, see #200.) There are two parts to this question. Part 1: How can a person determine the meaning of "CSS pixel" on a given platform?The WCAG2ICT update includes Guidance When Applying “CSS pixel” to Non-Web Documents and Software. This guidance describes how the "CSS pixel" (as used in WCAG) can be approximated using one of two methods:
These two methods can be used for closed functionality software. Some closed functionality software runs on a platform that is open enough for the first method to be practical. Other closed functionality software runs on a specific hardware device, such as a self-service terminal or kiosk, where the physical screen might be known. Part 2: Using "CSS pixels" as the unit, how can a person measure parts of the user interface of closed functionality software?If you use the platform-defined density-independent pixel method: Obtain a software tool that allows developers or testers to measure content in the density-independent pixel unit of the platform. If you use the method of viewing distance: Calculate the reference pixel size as described in the Notes in the WCAG2ICT guidance for the definition of "CSS pixel". It is not feasible for this Task Force to list more specific measurement tools for these methods. There may or may not be software tools available to measure. As a result, WCAG2ICT document will not be changed. |
Closing as answered. |
@melaniephilipp wrote on 2023-09-29:
Edit 2023-12-03: I am splitting this request into two parts. The present issue will address only closed functionality. Issue #200 will address macOS and Windows software. — @mitchellevan
The text was updated successfully, but these errors were encountered: