Skip to content

Reduce the usage of <section> tags, to increase accessibility - #2439

Merged
davestgermain merged 1 commit into
masterfrom
dcs/a11y-vivisections
Feb 5, 2014
Merged

Reduce the usage of <section> tags, to increase accessibility#2439
davestgermain merged 1 commit into
masterfrom
dcs/a11y-vivisections

Conversation

@davestgermain

Copy link
Copy Markdown
Contributor

Because screen readers announce each section on the page, <section> tags should only be used where there is a semantic section on the page. There are currently many inappropriate uses of the tag. This PR reduces them.

@talbs

@davestgermain

Copy link
Copy Markdown
Contributor Author

@nedbat

@nedbat

nedbat commented Feb 4, 2014

Copy link
Copy Markdown
Contributor

This looks good. I wonder about making some of the selectors less specific, but this is mergeable. 👍

@talbs

talbs commented Feb 5, 2014

Copy link
Copy Markdown
Contributor

I'd agree with @nedbat's point of selector specificity. I'm happy to make that quick change to the Sass here, but am a bit weary to do the same myself to the component-centric .py files. @nedbat is removing the HTML elements from those lines going to cause problems?

@talbs

talbs commented Feb 5, 2014

Copy link
Copy Markdown
Contributor

On second thought, after diving into the Sass a bit, I'd prefer to clean up selectors as a separate piece of work - there's enough very rough rules and thus changes needed that some manual testing of UI rendering will be needed. I don't want that to slow this work around a bug down.

Once you rebase and tests pass, 👍

I'll add a separate less urgent bug about the selectors to not drop that ball.

…ach section, they should not be used unless they are actually defining meaningful sections.
davestgermain pushed a commit that referenced this pull request Feb 5, 2014
Reduce the usage of <section> tags, to increase accessibility
LMS-2161
@davestgermain
davestgermain merged commit 793dae5 into master Feb 5, 2014
@davestgermain
davestgermain deleted the dcs/a11y-vivisections branch February 5, 2014 16:38
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request Mar 23, 2018
* Add ORA2 video upload option openedx#2375 (openedx#2417)

* Modified courseware page look and feel openedx#2377 (openedx#2409)

* Modified about page openedx#2379 (openedx#2413)

* Fix biz bugs. openedx#2404 (openedx#2406)

* Fix display width of popup. (openedx#2384)

(cherry picked from commit a43c935a575d15fcf629f0edeb81446c778cda95)

* Validate duplicate url-code.

* Fix bug, when course not found.

* Fix order of course as CourseOverview.

* Remove additional-info count from contract grid. openedx#2419 (openedx#2437)

* Fix order global course. openedx#2420 (openedx#2421)

* Add additional info register. openedx#2419 (openedx#2433)

* fix survey csv character encode problem openedx#2380 (openedx#2434)

* Fix bokchoy for LoginCodeEnabledBizSurveyTest. (openedx#2457)

* Fix register students confirm message. (openedx#2461)

* Add command to check playback_log. openedx#2438 (openedx#2445)

* Fix courseware page lookandfeel (openedx#2446, openedx#2439, openedx#2452, openedx#2453)

* Fix box-shadow of sequence-nav-button. openedx#2453 (openedx#2467)

* Fix bugs. openedx#2462 openedx#2463 (openedx#2464)

* Fix password message in register students page.

* Fix glass pane of processing when register additional item.

* Fix display width of popup. (openedx#2466)

* Fix min-width of sequence-nav. openedx#2468 (openedx#2469)

* Fix isRegistered javascript in about page openedx#2470 (openedx#2471)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants