Skip to content

Add support for setting DOM focus via the wiki testable statements #13

@joanmarie

Description

@joanmarie

We have several tests (e.g. aria-activedescendant) which require setting DOM focus on an element. And I can add this manually to an already generated test as a step, e.g.:

      {
         "type" : "event",
         "element" : "test",
         "event" : "focus",
         "title": "Put focus on test element"
      },

Is this the desired way to do DOM focus? If not, what is? But if so.... Looking at make_tests.pl:

      } elsif ($type eq "event") {
        print STDERR "Event support from wikis is not yet implemnted at line #lineCounter\n";

Since we are currently doing wiki-based testable statements, it would be great to solve this problem so the aria-activedescendant tests don't have to be run manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions