These were added to Special:RecentChanges in 2004, but it doesn't
match what we do in any of the other lists. For accessibility
purposes, in flow indexing is preferred these days, or alternatively
a JS controlled roving tabindex, but this was neither.
Bug: T116127
Change-Id: Id455fafe4bdea40fb5988bdec14eed672844c8e3
$diffLink = Linker::linkKnown(
$rc->getTitle(),
$this->message['diff'],
- [ 'tabindex' => $rc->counter ],
+ [],
$query
);
}
$curLink = $curMessage;
} else {
$curUrl = htmlspecialchars( $cacheEntry->getTitle()->getLinkURL( $queryParams ) );
- $curLink = "<a href=\"$curUrl\" tabindex=\"$counter\">$curMessage</a>";
+ $curLink = "<a href=\"$curUrl\">$curMessage</a>";
}
return $curLink;
return $diffMessage;
}
$diffUrl = htmlspecialchars( $pageTitle->getLinkURL( $queryParams ) );
- $diffLink = "<a href=\"$diffUrl\" tabindex=\"$counter\">$diffMessage</a>";
+ $diffLink = "<a href=\"$diffUrl\">$diffMessage</a>";
} else {
$diffUrl = htmlspecialchars( $cacheEntry->getTitle()->getLinkURL( $queryParams ) );
- $diffLink = "<a href=\"$diffUrl\" tabindex=\"$counter\">$diffMessage</a>";
+ $diffLink = "<a href=\"$diffUrl\">$diffMessage</a>";
}
return $diffLink;
'assert diff link'
);
- $this->assertRegExp( '/tabindex="0"/', $line, 'assert tab index' );
$this->assertRegExp(
'/title=Cat&curid=20131103212153&action=history"/',
$line,