What fresh hell is THIS now? - Patrick Lauke
title
or some customized overlay?
[sshaar08] i understand the process for `\
var AxeBuilder = require('axe-webdriverjs');
var WebDriver = require('selenium-webdriver');
var driver = new WebDriver.Builder()
.forBrowser('firefox')
.build();
driver
.get('https://dequeuniversity.com/demo/mars/')
.then(function () {
AxeBuilder(driver)
.analyze(function (results) {
console.log(results);
});
});`\
\`var expect = require\('chai'\).expect; describe\('[webdriver.io](http://webdriver.io) api page', function\(\) { it\('should be able to filter for commands', function \(\) { browser.url\('[http://webdriver.io/api.html](http://webdriver.io/api.html)'\); // filtering property commands $\('.searchbar input'\).setValue\('getT'\); // get all results that are displayed var results = $$\('.commands.property a'\).filter\(function \(link\) { return link.isVisible\(\); }\); // assert number of results expect\(results.length\).to.be.equal\(3\); // check out second result results\[1\].click\(\); expect\($\('.doc h1'\).getText\(\)\).to.be.equal\('GETTEXT'\); }\); }\);
`
[juryjowns] I always assumed that tabindex="-1"
‘s “programmatically focusable” meant it had to be focused with JavaScript, but elements with tabindex="-1"
are focusable via a click by default (no JS) in both Chrome and Firefox (and likely others). Is this normal?
Test page: http://jeremyjon.es/tabindexTest.html
tabindex
n it
[juryjowns] @karlgroves Fair question. It’s very much in beta, but here’s the project it’s related to: http://enptree.wpengine.com/example.php
To get to the part that I’m considering an issue, click “Start” then click the little icon with four boxes (I know it’s unclear what it means, that’s to be fixed still) and you’ll get taken to an overview mode.
tabindex="-1"
a focus ring on click.
[karlgroves] I’m not seeing any non-focusable thing get a focus rectangle on your example: http://enptree.wpengine.com/example.php
But, you could use CSS to take the focus indicator off
*[tabindex="-1"]:focus{ outline:none; }