Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29332808: Issue 2408 - Improved accessibility of checkboxes in options page (Closed)

Created:
Dec. 16, 2015, 1:31 p.m. by Thomas Greiner
Modified:
Jan. 27, 2016, 2:51 p.m.
Reviewers:
saroyanm
Visibility:
Public.

Description

Note that apart from the changes for the ticket, this review also introduces `Collection.prototype.updateItem` to centralize item updates.

Patch Set 1 #

Patch Set 2 : Rebased to 59920e6112a6 #

Total comments: 17

Patch Set 3 : #

Total comments: 9

Patch Set 4 : Reverted styles for Advanced tab #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -41 lines) Patch
M options.html View 1 2 6 chunks +11 lines, -9 lines 0 comments Download
M options.js View 1 2 3 6 chunks +79 lines, -29 lines 0 comments Download
M skin/options.css View 1 2 3 4 chunks +22 lines, -3 lines 0 comments Download

Messages

Total messages: 6
Thomas Greiner
Dec. 16, 2015, 1:39 p.m. (2015-12-16 13:39:27 UTC) #1
saroyanm
Sorry that the review took so long. https://codereview.adblockplus.org/29332808/diff/29332870/options.html File options.html (right): https://codereview.adblockplus.org/29332808/diff/29332870/options.html#newcode74 options.html:74: <div id="tab-content"> ...
Jan. 19, 2016, 11:19 a.m. (2016-01-19 11:19:50 UTC) #2
Thomas Greiner
https://codereview.adblockplus.org/29332808/diff/29332870/options.html File options.html (right): https://codereview.adblockplus.org/29332808/diff/29332870/options.html#newcode74 options.html:74: <div id="tab-content"> On 2016/01/19 11:19:49, saroyanm wrote: > Detail: ...
Jan. 19, 2016, 3:15 p.m. (2016-01-19 15:15:05 UTC) #3
saroyanm
https://codereview.adblockplus.org/29332808/diff/29332870/options.js File options.js (right): https://codereview.adblockplus.org/29332808/diff/29332870/options.js#newcode115 options.js:115: while (true) On 2016/01/19 15:15:04, Thomas Greiner wrote: > ...
Jan. 25, 2016, 2:45 p.m. (2016-01-25 14:45:44 UTC) #4
Thomas Greiner
https://codereview.adblockplus.org/29332808/diff/29333987/options.js File options.js (right): https://codereview.adblockplus.org/29332808/diff/29333987/options.js#newcode113 options.js:113: var tab = element.parentElement; On 2016/01/25 14:45:43, saroyanm wrote: ...
Jan. 25, 2016, 6:04 p.m. (2016-01-25 18:04:21 UTC) #5
saroyanm
Jan. 26, 2016, 6:40 p.m. (2016-01-26 18:40:12 UTC) #6
LGTM

https://codereview.adblockplus.org/29332808/diff/29333987/options.js
File options.js (right):

https://codereview.adblockplus.org/29332808/diff/29333987/options.js#newcode114
options.js:114: while (tab)
On 2016/01/25 18:04:21, Thomas Greiner wrote:
> On 2016/01/25 14:45:43, saroyanm wrote:
> > What if the dialog where the collection is implemented doesn't contain any
> other
> > focusable elements, should the close button be selected ? 
> 
> The main challenge with focus management is that you can make it as extensive
as
> you want but the more you do that the more complicated it gets. Therefore I
> decided to go with the most minimal implementation that's necessary for our
UI.
> 
> At the moment there's always a focusable element in the dialog (see
> "default-focus" class name) which is why this problem only exists in theory.

Fare enough.

Powered by Google App Engine
This is Rietveld