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

Issue 29323156: Issue 2410 - Improved accessibility of dialogs in options page (Closed)

Created:
July 31, 2015, 3:02 p.m. by Thomas Greiner
Modified:
Oct. 2, 2015, 2:59 p.m.
Reviewers:
saroyanm
CC:
Felix Dahlke
Visibility:
Public.

Description

In addition to the changes described in the ticket, I also added a keyboard shortcut so that you can press ESC to close an open dialog.

Patch Set 1 #

Patch Set 2 : Rebased to f8e3e591fcbb #

Total comments: 21

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -41 lines) Patch
M options.html View 1 2 4 chunks +11 lines, -18 lines 0 comments Download
M options.js View 1 2 6 chunks +57 lines, -7 lines 0 comments Download
M skin/options.css View 1 2 3 7 chunks +26 lines, -16 lines 0 comments Download

Messages

Total messages: 7
Thomas Greiner
July 31, 2015, 3:08 p.m. (2015-07-31 15:08:35 UTC) #1
saroyanm
https://codereview.adblockplus.org/29323156/diff/29328570/options.html File options.html (right): https://codereview.adblockplus.org/29323156/diff/29328570/options.html#newcode326 options.html:326: <input type="search" id="find-language" class="default-action" /> As far as I ...
Oct. 1, 2015, 4:31 p.m. (2015-10-01 16:31:41 UTC) #2
saroyanm
https://codereview.adblockplus.org/29323156/diff/29328570/skin/options.css File skin/options.css (right): https://codereview.adblockplus.org/29323156/diff/29328570/skin/options.css#newcode483 skin/options.css:483: #dialog-body button::before On 2015/10/01 16:31:40, saroyanm wrote: > Nit: ...
Oct. 1, 2015, 5:27 p.m. (2015-10-01 17:27:04 UTC) #3
Thomas Greiner
https://codereview.adblockplus.org/29323156/diff/29328570/options.html File options.html (right): https://codereview.adblockplus.org/29323156/diff/29328570/options.html#newcode326 options.html:326: <input type="search" id="find-language" class="default-action" /> On 2015/10/01 16:31:40, saroyanm ...
Oct. 2, 2015, 10:27 a.m. (2015-10-02 10:27:29 UTC) #4
saroyanm
https://codereview.adblockplus.org/29323156/diff/29328570/skin/options.css File skin/options.css (right): https://codereview.adblockplus.org/29323156/diff/29328570/skin/options.css#newcode514 skin/options.css:514: #dialog-body button::before On 2015/10/02 10:27:29, Thomas Greiner wrote: > ...
Oct. 2, 2015, 1:18 p.m. (2015-10-02 13:18:51 UTC) #5
Thomas Greiner
https://codereview.adblockplus.org/29323156/diff/29328570/skin/options.css File skin/options.css (right): https://codereview.adblockplus.org/29323156/diff/29328570/skin/options.css#newcode514 skin/options.css:514: #dialog-body button::before On 2015/10/02 13:18:50, saroyanm wrote: > On ...
Oct. 2, 2015, 2:17 p.m. (2015-10-02 14:17:33 UTC) #6
saroyanm
Oct. 2, 2015, 2:24 p.m. (2015-10-02 14:24:35 UTC) #7
On 2015/10/02 14:17:33, Thomas Greiner wrote:
> https://codereview.adblockplus.org/29323156/diff/29328570/skin/options.css
> File skin/options.css (right):
> 
>
https://codereview.adblockplus.org/29323156/diff/29328570/skin/options.css#ne...
> skin/options.css:514: #dialog-body button::before
> On 2015/10/02 13:18:50, saroyanm wrote:
> > On 2015/10/02 10:27:29, Thomas Greiner wrote:
> > > On 2015/10/01 16:31:41, saroyanm wrote:
> > > > Nit: should not exceed the 80 char limit if you put inline with the line
> > > before.
> > > 
> > > Sure but it's more readable if each selector is on its own line, don't you
> > think
> > > so?
> > 
> > I agree with you, from readability point of view having every selector on
it's
> > own line make more sense, but it makes file also bigger, so I will vote for
> > current approach if we are okey having bigger files.
> 
> Bigger files should not be an issue as long as the code inside is well
> structured and easily understandable.
> 
>
https://codereview.adblockplus.org/29323156/diff/29328570/skin/options.css#ne...
> skin/options.css:522: -moz-margin-end: 12px;
> On 2015/10/02 13:18:50, saroyanm wrote:
> > On 2015/10/02 10:27:29, Thomas Greiner wrote:
> > > On 2015/10/01 16:31:40, saroyanm wrote:
> > > > Just as remark: I think from some point we should also use standardized
> > > version
> > > > as well:
> > > > margin-inline-end (same for other similar elements).
> > > 
> > > Unfortunately, there's no standardized version yet. All there is right now
> is
> > a
> > > draft so at this point it's not stable enough to rely on a non-prefixed
> > version.
> > 
> > I see, make sense also not use border-inline-start-width in first run page,
I
> > think we used that property there, that why I thought it standardized. 
> 
> I guess we can tackle that whenever we make changes to firstRun.css
> 
> https://codereview.adblockplus.org/29323156/diff/29328807/skin/options.css
> File skin/options.css (right):
> 
>
https://codereview.adblockplus.org/29323156/diff/29328807/skin/options.css#ne...
> skin/options.css:1063: text-align: start;
> On 2015/10/02 13:18:51, saroyanm wrote:
> > According to MDN "start" value for text-align property is part of
experimental
> > API, so I think using "initial" will be more safe here: 
> > text-align: initial;
> > 
> > reference:
> > https://developer.mozilla.org/en/docs/Web/CSS/text-align
> 
> Done.

LGTM

Powered by Google App Engine
This is Rietveld