Discussion on defining "view" #286
Replies: 52 comments 137 replies
-
+1 to thanking @hidde-logius for the presentation and work. Not an easy undertaking! Very well done. I appreciate the word "view" and think this helps to capture other interfaces that can be included in such a change of terminology. I don't think that saying to authors after WCAG 3 comes out: "Yeah we changed the definition of page and now that means mobile" will be particularly helpful. Will think more on it, but this is my immediate response. |
Beta Was this translation helpful? Give feedback.
-
Can we decide whether we need a subview categorisation? What function does it serve? I have heard @scottaohara mention (paraphrasing Scott) the desire to provide clear concepts for developers that fit in with their existing conceptual fameworks (@scottaohara please disabuse me) Are there other reasons? |
Beta Was this translation helpful? Give feedback.
-
I think our current definition of View is a little wooly
Should "Testing scope" not be better cast as "Conformance scope" as it scope covers testing, user testing, design, remediation, developemnt etc. And they way UI is carved up for the testing is arbitrary, The important aspect is that the disected UI can be resconstituted to the entirity of a view for conformance purposes. I also think that a unit for the purpose of conformance can be a view or a set of views, the concept of "testing scope" is misguided as what is defined as a sample for the purposes of testing could be a view or a set of views or a component(s) within a view.
This doesn't hold water as views (pages in old speek) may contain UI for multiple tasks or purposes Also I am thinking that the definition of what a view is could be reinforced by reference to "change of context" term here (updated for WCAG 3) https://www.w3.org/TR/WCAG22/#dfn-change-of-context |
Beta Was this translation helpful? Give feedback.
-
I worry that words/phrases like "at a given time" "same purpose" or "same task" are very subjective and make the term VIEWS so ambiguous as to be unusable for normative work - or as a definition of SCOPE for evaluaton or conformance. for example --
These are just 4 examples -- but there are many more like this. And none of these are near boundaries. If VIEWS are to be the evaluation unit -- then VIEWS need to be unambiguous and objective - not subjective. Everyone needs to agree on what a VIEW is (or the VIEWS are) for every part of a website (or whatever is being evaluated). PS I am a fan of VIEWs - and spent several months trying to make it work along with a team of others a decade ago but we never could. I see the same problems today as we saw then and have not seen any solution to them - yet. Still hopeful but .... |
Beta Was this translation helpful? Give feedback.
-
WCAG 3 a change of context https://html5accessibility.com/stuff/2025/02/24/wcag-3-a-change-of-context |
Beta Was this translation helpful? Give feedback.
-
Not sure if this has been discussed before, or how useful it may be, but: is it worth introducing the idea that a view is a discrete, self-contained "unit" of sorts? that it is distinct from other views? i guess that's implicit in the idea that it's a new "context", but worth making that even more explicit? (just reminded of the original problem of the old WCAG 2.x definition of web page, which was anchored on the very web 1.0 idea of "a separate page has a separate URI", which immediately breaks down in modern contexts with dynamic routing, or even form submissions) |
Beta Was this translation helpful? Give feedback.
-
On Feb 25, 2025, at 2:29 AM, Léonie Watson ***@***.***> wrote:
If we stick to the use of "page" though, then every permutation of an SPA would be deemed a "page", which is unhelpful for many reasons. Within an SPA [Single Page Applications ] a view may be the part of the viewport that's updated in response to an event - which could, for example, be synonymous with the main content area.
Actually, think about it, it seems you have this exactly backwards
If we stick with the definition of page — the app as a whole is the “page” just like an entire web app is a single “webpage” ( which is defined as everything you find at a URL with its support elements)
what you propose (Views) is what leads to an infinite number of different things to evaluate since the “view” in an app is always changing with things coming and going (toolbars, ribbons, expansions, ) which are all independent and you would have to text each different combinatiion if you require all VIEWS to be accessible.
There is also the case where one view may be inaccessible but the user can easily switch to another view of the same functionality and have one that is. But if all views much be accessible - then this accessible app would fail
In a native app a screen and a view may be synonymous,
what does “ may be “ mean? sometimes yes and sometims no? then how do I know when they are and arent? and are we using screen or view as the element of evaluation.
but a view may equally apply to a webview pulled into a native app wrapper
Now you are calling an entire webapp a “view”?
. In some cases a webview might represent the bulk of the content, but in others it may represent a more tightly scoped portion of the screen.
OK everything is possible. But what is the unit of evaluation and report. If it is to be used by regulatory bodies (like WCAG is) then you have to say WHAT it is that is being evaluated and passing or failing. And everyone needs to agree on what that is.
Everyone (includign me) likes the idea of views. But everyone also has a different view or definition of what a view is.
what does programmatically available mean. If content cannot be seen and is never shown - but if you use a software tool you can see it (maybe a database buried in the page) does it need to meet all of the guidelines?
My take was that "programmatically available" was meant in the same spirit as "programmatically determinable" - as in available to tools that extract and present content to consumers.
That sounds good but the way it is used - it does not match. You cannot plug the definition of PD into that sentence and make it work the way you want.
what about audio information? it is neither visual nor programmatic.
If there was audio content within a view (or page or a screen), then it would be covered by those criteria intended for audio content wouldn't it?
Not if it is not included in your defintion of view — and view is the item of evaluation. in that case you evaluate noting but views - and audio is not in your defintion of views so it is not evaluated
Now IF - you say - well the unit of evaluation is web page — and all the views and audio and any other non-visual information from the web page need to be accessible — then it works. but then everywhere in WCAG 3 where we have VIEW we need to put WebPage back or “vIews on a webpage” if we are talking about a web page that can have no audio (but I don’t know how you can confirm that.)
that is the problem
Start with “we need to say what the “unit of evaluation is” and then you can see that — although views is very attractive — there is no way to clearly and objecctively either define views (so that everyone will agree what all the views are for a page or app) — AND to not end up with an infinite number that defies testing.
PS the fact that you can think of a simple page where it will work is not the test of an idea. It is when there are no examples of pages where the scheme falls apart (not counting something really bizarre that isnt realistic of course)
Best
g
Still hoping someone will figure out how to make views work
but seeing that all current formulations fail when you look carefully and try to apply accross all web pages (much less apps)
… |
Beta Was this translation helpful? Give feedback.
-
@GreggVan wrote:
|
Beta Was this translation helpful? Give feedback.
-
the same way that in the 2.x "webpage" model you can have certain pages be inaccessible, but then have conforming alternate versions, the same concept would apply for views (whatever shape they take) |
Beta Was this translation helpful? Give feedback.
-
Perhaps we should rename view to unit so we don't get hung up on it... |
Beta Was this translation helpful? Give feedback.
-
Correct. Page and View are both problematic. But page is defined and therefore usable. Again - I love "view" but it is not definable (or at least no one had figured out a definition that can be applied where everyone will come up with the same result when using the definition on a website. Page is what you get from a URL meant to be viewed alone - along with all the the parts pulled into it in rendering. point 20 people at a website or an app and aske them to give you a list of all the 'views' and you will get 20 different lists. Let me call this the "list of evaluation units" or LOEU test. If we can come up with a defintiion of views as the evaluation unit (instead of page) and it can pase the LOEU text then we have solved it. Until then the 'views' concept is attractive, beautiful, alluring, etc. but it is not practical as an Evaluation Unit . best (Happy LOEU hunting) |
Beta Was this translation helpful? Give feedback.
-
I find it diffcult to understand this as I regularly define the scope of native app sampling without issue.
In practice I don't experience this, in fact it is often easier to define a common/agreed set of views for an app. I cited a suggested definition of view in #286 (comment) but you have as yet offered no response. As for your claim that apps have infinite views I just don't get your thinking on this |
Beta Was this translation helpful? Give feedback.
-
yes and I think that from a developers point of view-- view is a better thing to think of. BUT if we are talking regulation -- then we have to have something objective. Think lawyers and judges. And conformance evaluations. For that we need something definite. I havent seen a viable definition of views yet (though I love the concept) I suggest we spend less time talking about how much we like the idea -- and more time trying to find a defiinition that will allow us to use it. best |
Beta Was this translation helpful? Give feedback.
-
it would be helpful if you responded with concrete feedback |
Beta Was this translation helpful? Give feedback.
-
Most evaluations are based on sample. I agree that a view is a “you know it when you see it” kind of thing, but while there might be minor deviances when you ask professionals to select views as samples, I don’t think any choice would be invalid. The reality is that testing by page has not been useful for a decade, and even with views I tend to have specialty buckets for common elements like headers, footers, and navigation. It’s just not practically useful to fail otherwise good views because of a missing alternative text in the heading, for example. I honestly think it’s best to leave the term view open, with the boundary of “does not have changes of context” as proposed by @stevefaulkner and then give testers guidance on how to select valid samples through support material (see WCAG-EM for methods). Fixing the definition too narrowly, and you lose practicality and, when a new paradigm comes where the definition does not fit, flexibility. [I reiterate my concern that WCAG3 is more concerned with “how to properly test WCAG3” than guiding people to make good decisions on what to test and fix issues. I have no interest to adhere to a stringent testing ritual to satisfy WCAG3, and I also don’t think clients will see the value. Testing needs to get simpler in a new iteration. Spending less time interpreting rules and doing the bureaucracy, not more.] |
Beta Was this translation helpful? Give feedback.
-
Ok, new versions incoming, probably easiest to read in the Views document, but I'll paste in copies below for reference:
Notes & context, please read!
The next task is to try them out. In your sub-groups, please analyse any requirements that would use any of these terms, and see if they work for that purpose. |
Beta Was this translation helpful? Give feedback.
-
One challenge with static elements being defined as not interactive relates to dynamically updated content that is not interactive. For example, content that is dynamically updated like a counter, heading, or chat message but it's not interactive. Calling it static content could create confusion. |
Beta Was this translation helpful? Give feedback.
-
Two comments
|
Beta Was this translation helpful? Give feedback.
-
may be helpful: interactive content definition in HTML https://html.spec.whatwg.org/multipage/dom.html#interactive-content |
Beta Was this translation helpful? Give feedback.
-
Summary 6th May 2025We've been using a survey to track comments and whether sub-groups have tried to use the terms yet. The comments included:
|
Beta Was this translation helpful? Give feedback.
-
Thanks @alastc my comments on the comments. (I still love the idea of views -- I just can't make it work...)
Doesnt this also apply to any web page or whole app or even website? e.g. Shopping sounds like a distinct function. Are we just kicking the can to the definition of "distinct function" (in which case we should just put those words in here.
+1 on this. that would solve so many problems, make the defintion easy, an resolve the question (what about things that are not static and not interactive. if one definition is not the negative of the other -- there will always be things that miss both.
Good question.
Another question is " is editable text interactive ? or it just the field that is interactive?
answer - NO. that is one technique. And does not work everywhere. AND we want to be futureproof and what is programmatic in the future (With AI based AT or browsers) may be VERY different.
Good question. depends on definiton of component? I think it can because a paragraph is a component of the page content?
I think it means that just focusing on (moving the keyboard focus -- or hovering where allowed - should not cause the page to change to a new context (or it is a landmine and you can't get past it when using keyboard focus because when you hit it with keyboard focus the context you are in suddently changes. This is why popups or dropdowns are not considered changes in context.
The problem here is - we have not yesterday found a stable definition to "UI-context" so we can't stablely answer this question (and all the other)
I think "product" is a bad term. Maybe we should stop at "scope of conformance" or something. otherwise I don't see us ever coming up with a stable name and definition for this level. Agree that product is not a good term. does sound like something you sell - or that could be sold.
We decided to use page/view because that allowed us to read the sentences with both words in place to see if they would survive if either approach was used. we used view instead of UI-Context because it was shorter and stood in for the concept -- not because we thought View was better than UI-context as the final term. |
Beta Was this translation helpful? Give feedback.
-
Update 20th June 2025I've tried to come up with a workable solution for these definitions, and come to the conclusion that "view" does fit some web page contexts, and "page" does fit some web-app contexts. So why not both? In the draft definition 3 tab (direct link), I've gone back a couple of versions for the "view" definition, and added the web-page:
I've also added a note that basically says: These are both units of conformance, use either or both. That mildly cascaded to the process and conformance-scope definitions. |
Beta Was this translation helpful? Give feedback.
-
I like the idea of not making it an EITHER ONE OR OTHER situation. But I think the View definition still needs work. Lets say I have a header with my logo and search on it. That is how the definition reads to me. Am I missing something? PS And if we did say how much needs to change before it is a new view, we just create a new problem. If we say 25% then something can be a new view one day - and the next -- when they add a period (or a sentence or a paragraph) to the base side - it no longer is a new view? |
Beta Was this translation helpful? Give feedback.
-
@hidde I agree. And 508 and EN 301 549 both use WCAG for docs and software as well - using WCAG2ICT as a guide. But I don't see what that has to do with the current discussion about the fact that "views" does not have any clear unambiguous (objective) definition where people agree on exactly what constitutes a view - and a new view. Am I missing something? |
Beta Was this translation helpful? Give feedback.
-
Update: June 26thBased on feedback I've updated a couple of things in the draft definition 3, and we can discuss in the next meeting. The changes are to View:
So the idea is that, instead of trying to establish a level of change, we look for at least one component which is maintained whilst the content of the page changes. A logo-link would be an "interactive element", but it would not qualify as a "component". So you'd need a nav-bar or something, where you can select items from that and the content changes. I also updated the note, which I think will need to go in the conformance section rather than under each conformance unit:
I also dropped the term "product" and went with "conformance scope". In my work "product" is synonymous with any website, or part of website, or app as they are created by "product teams". However, in other places (such as the EN 301 549) product is more strictly about hardware, so would be confusing. |
Beta Was this translation helpful? Give feedback.
-
QUESTION: Is a dropdown menu itself and interactive element (an not just the items in the menu?) I would think yes - but your definition here does not cover it as Interactive or non-interactive. It is a component I know - but it still has to be interactive or not. Would say it was interactive. Also and expanding paragraph is interactive. (not the paragraph but the expansion element that you click on to expand it) no? |
Beta Was this translation helpful? Give feedback.
-
SamplingHi everyone, I've added the previous examples with my interpretation to the bottom of the Definition 3 tab. Also, in going through that, I want to make a point: In practice, the definition of page (or view) is not as important as how you sample. We know at the moment that the page definition is often ignored in practice, for example:
In practice, getting a good sample of content-types and interactive-components is way more important than the page (or view) definition. The key to sampling is to analyze what component are available (via a design system, and/or automated review, and/or manual review), and ensure you capture an example of each thing. So I'm +1ing Hidde's point that we can allow for some common sense interpretation of these definitions, it has been happening for years already. I don't think we can (or should) include sampling methodologies in the core spec, but can we agree to reasonably open definitions of page and view with a caveat that we will also need an informative doc to outline sampling methods (like WCAG-EM)? Aside from conformance, the definitions (including "closely available") need to work for whether something is available in the same context, and I think that works with the current definitions. We'll need to work on that more anyway, as the content comes together. |
Beta Was this translation helpful? Give feedback.
-
Summary 1st July 2025There is an updated definition, and examples of how it could be interpreted. There has been discussion about what constitutes an interactive item. It does not seem to be a blocking discussion. Quite a few people have made points about how the current "page" definition is interpreted, not according to the exact definition but with a common-sense approach. Why shouldn't the view definition use the same approach? A key point made is that a standard picked up by regulation needs to be clear and objective. For example, showing people the definition and a variety of interfaces, and people would mostly agree on what would be view (or page). This aspect needs agreement before we can progress. |
Beta Was this translation helpful? Give feedback.
-
I think the decision yesterday to go with the (in my view hard to understand) definition of "view" is a grave error that should be corrected. This is the current definition with most people plus-oned (is that a word?):
That creates a big practical problem. In the evaluation of mobile apps, it should be possible to allocate conformance errors to particular views / screens, i.e. where they occur, regardless of whether these views share elements like a navigation bar with other views. If we seriously say: if there is any element (such as such a nav bar) that all screens share, then all these screens are lumped together in the same view, we end up amassing a broad range of issues under a single view, having to spell out in reporting to which screen of that monstrous view an issue belongs. That is not helpful. And if this turn leads to defining individual screens as components, i.e. components then being the actual units that are evaluated, you wonder what the aggregate of "view" is then good for. The only advantage would be to focus on the element(s) shared by all screens under that concept of a view (say, the navigation bar) but that I believe is not intended in the current definition. |
Beta Was this translation helpful? Give feedback.
-
Hi, in terms of the word "view" I have some clarification questions that I'm asking below, they may have been already answered within the thread, or on a AG call and within minutes of that meeting. If they have , I apologize in advance for my oversight, if you could point to answers elsewhere, I will read up and take my comments offline. Here are my thoughts:
For example, in terms of view, how would this be applied to say iOS, iPadOS, MacOS, VisionOS, WatchOS, Games, where there may or may not be web user agents involved that display context in an user agent on the device vs. where the interactions are solely on native iOS apps?
Feel free to move these topics to other discussions or respond to what is worthwhile as you see fit. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks to @hidde-logius for the presentation today.
Opening this discussion thread for anyone to provide ideas on where they'd like views to go / any thoughts on the current presentation/documentation that's been provided.
Beta Was this translation helpful? Give feedback.
All reactions