-
Notifications
You must be signed in to change notification settings - Fork 23
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
Is 'total accumulated text' necessary? #89
Comments
Hi, To answer your question, the algorithm is fluid, and there at times may be different results for root that aren't always the same, such as how and when inline or block level elements are applied, if CSS content is present, if the root includes child nodes that are form fields, and so on. Also, there are 2 different properties that are handled by the algorithm, one is the accessible name, and the second is the accessible description, so when the algorithm computes one or the other, the result will indeed be different depending on which is being computed for root. If I am misunderstanding, please let me know. Thanks, |
Hi Bryan, thanks for your response. As a preface, the motivation behind this is to simplify the algorithm by removing I don't think I did a great job wording my previous question, so I'm going to try to reformulate it here: I am questioning the relevance of the If we accept that only one step (2.A - 2.I) may be applied to a given input node, then there must only ever be one I would be interested to see any examples of an input node for which multiple steps would be applied, producing multiple |
Thanks, that does help. :) It never made a lot of sense to me either, since my background is primarily in object oriented programming languages, and this algorithm implies a single line of processing logic that doesn't really lend itself well to morphing individual steps as needed without having to hack up the wording even more than it already is. The clarity of the algorithm has been discussed quite a few times in various meetings as well, and we all agree that the layout and step documentation is overly difficult to understand. One of my action items, when I have more time of course, is to greatly simplify the spec text to make it easier to understand, which I still hope to do one day. Someday, that mythical day between Sunday and Monday. A lot of these became clearer to me after having to translate the spec text into working code, which is where I found many of the grey areas that we need to shore up going forward. At present though, and in the interest of preventing further delays, I'm going to have to address these things within the context that they already exist. This means having to push steps down with more steps, as well as clarifying those that are, so they can account for new functionality or differing requirements. |
At the end of 4.3 there is an instruction to:
The definition for
total accumulated text
is:Is it possible for there to be more than one
result
from this algorithm? It seems like whichever step of the algorithm is applied to theroot node
will return the final accessible name / description -- any results computed recursively being stored in anaccumulated text
variable, which ends up being returned as a single result in the end.I may be missing something here, but if it is the case that the result of the first rule applied is always the
total accumulated text
, then maybe the spec could be simplified by removingtotal accumulated text
and the instruction to append multiple results?The text was updated successfully, but these errors were encountered: