Commit Graph
26 Commits
Author SHA1 Message Date
qsm-odoo 7f10b55a50 [REF] *: BS4, adapt display classes
The system completely changed. I also had to adapt classes to new
screen breakpoints.

hidden/hide -> d-none
show -> d-block
hidden-xs -> d-none d-md-(block/inline/...)
hidden-sm -> d-md-none d-lg-(block/inline/...)
hidden-md -> d-lg-none d-xl-(block/inline/...)
hidden-lg -> d-xl-none
visible-xs-* -> d-* d-md-none
visible-sm-* -> d-none d-md-* d-lg-none
visible-md-* -> d-none d-lg-* d-xl-none
visible-lg-* -> d-none d-xl-*
hidden-print -> d-print-none
visible-print-* -> d-none d-print-*
...
and all possible combination of those had to be handled too.
2018-07-27 12:36:54 +02:00
kujiu 9de1bc0eef [IMP] Improve compatibility with screen readers (accessibility) (#24574)
Today, Odoo is really tricky to use without seeing the screen, it must be improved to be usable.

This PR forbid to use labels without a "for" attribute, add some title, rule and aria attributes in HTML. With that, Odoo will be fully usable with a screen reader.


* [IMP] Labels must have a for attribute. Improve accessibility.
* [IMP] Better error message when trying to read a missing cached value
* [FIX] Add some aria-label and title attributes for screen readers.
* [FIX] Template name is not included in the error message in case of SyntaxError in QWeb
* [FIX] Improve the Tour failed at step error message to be more explicit.
* [IMP] Add aria-labels
* [FIX] Add missing aria-label on failing test
* [IMP] aria-hidden means hidden. Fix all bad aria-hidden and hide aria-hidden for all.
* [IMP] Color names on kanban views and many2many tags
* [IMP] Add some checks on views for accessibility.
* [IMP] Add `alt` attribute on `img` tags.
* [IMP] Add aria-label and title on non-described icons
* [IMP] Add button role to widgets with btn class
* [IMP] Translate aria and formatted attributes.
* [IMP] Remove wrong aria-labelledby
* [IMP] Add menu role on dropdowns
* [IMP] Buttons must be focusable
* [IMP] Add aria attributes on progress bars
* [IMP] Improve accessibility of basic widgets
* [IMP] Change main layout to more semantic tags
* [IMP] Add menuitem role when missing
* [IMP] Remove wrong role='presentation'
* [IMP] Improve accessibility of tab panels
* [IMP] Add aria-invalid on invalid fields
* [IMP] Add aria-sort on ordered columns
* [IMP] Add role on alerts
* [IMP] Use dialog role, header, main and footer tags for modals
* [IMP] Add labels on o_status
* [IMP] Improve accessibility of kanban view with feeds and articles
* [IMP] Add alerts in case of new messages
* [IMP] Add widget, navigation or img role to aria-labelled items
2018-06-22 21:22:21 +02:00
Géry Debongnie 905e01921f [REF] web, *: redesign all JS views
This commit introduce a full redesign of all JS views.  We started
basically from scratch.  The goal was to unify all the various views
under a common framework, to make them testable, to make then usable in
different conditions (in studio, or in the frontend), and to make our
lives easier.

Some important points are:
- we introduced new coding guidelines (camelCase, 80 chars width, ...)
- we have a brand new testing framework (still QUnit based)
- kanban view moved to the web addon
- calendar view (formerly web_calender) moved to web as well
- the tree view was removed
- all new code should be documented

We hope that this code is the start of a new era for the Odoo web
client, we want to have a high quality codebase, well documented, well
tested, well designed.

Work done by the framework team: mostly aab, ged, chm, dmo, qsm
2017-04-11 19:44:38 +02:00
Mansi Gandhi f5d53190d5 [IMP] pad: Change the pad settings info label
Because the configuration of pad is moved in general settings.
2017-01-04 13:50:11 +01:00
Rohan Patel 5814b0fc45 [IMP] pad: Use standard full screen icon and add tooltips
replace the icon for fullscreen by the same one used on YouTube (or a similar one) + add tooltip 'Full Screen' and 'Exit Full Screen'
2016-09-16 11:44:31 +02:00
Yannick Tivisse 07ae5c57eb [IMP] pad: Display an user friendly message on pad configuration view 2016-09-02 08:46:33 +02:00
Jigar Patel 66496b89a5 [MIG] pad: Migrate into new api 2016-07-05 14:47:36 +02:00
Richard Mathot 7b763176ba [REM] modelines: Gotta catch 'em all 2015-01-08 11:38:58 +01:00
Christophe Simonis e90a59aef6 [FIX] pad: font-awesomeize icon
bzr revid: chs@openerp.com-20140212181014-rk1qh1pcovtmjhqu
2014-02-12 19:10:14 +01:00
niv-openerp ea2544e432 [FIX] pad: problem about pad title not being updated correctly, was solved by solving another, more serious, bug that didn't updated correctly the database backup of the pad
lp bug: https://launchpad.net/bugs/1155039 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130419143529-jku5titoacaajft0
2013-04-19 16:35:29 +02:00
Randhir Mayatra (OpenERP) 4f0d88eae7 [IMP] improve the code
bzr revid: rma@tinyerp.com-20121129053112-fiq8k4w56crv3q4x
2012-11-29 11:01:12 +05:30
Frédéric van der Essen a7f63f3fb2 [FIX] css: further etherpad fixes:
bzr revid: fva@openerp.com-20120924134600-5avqr2vohdsh7y9n
2012-09-24 15:46:00 +02:00
Frédéric van der Essen b9fd12a301 [FIX] fixed etherpad's css integration
bzr revid: fva@openerp.com-20120920144017-il5ck5997gjdn5e7
2012-09-20 16:40:17 +02:00
Fabien Pinckaers 3754ded707 [IMP] pad demo daa
bzr revid: fp@openerp.com-20120905205539-sokhzgjpu0wi2pyo
2012-09-05 22:55:39 +02:00
Antony Lesuisse 588f233f15 wip part1 (no setHTML) working
bzr revid: al@openerp.com-20120829123833-4b9kp33d9ne2gyom
2012-08-29 14:38:33 +02:00
Antony Lesuisse 72c5fe278b generate url from the widget if needed
bzr revid: al@openerp.com-20120820234008-olfcnxj7np6hwwgz
2012-08-21 01:40:08 +02:00
Antony Lesuisse a79139048d [FIX] pad everything, remove unused api
bzr revid: al@openerp.com-20120721192551-q6nbqn4xxau0e64x
2012-07-21 21:25:51 +02:00
Fabien Pinckaers d17e291031 [IMP] etherpad fullscreen
bzr revid: fp@openerp.com-20120717225636-bqudwmo6cve50fjn
2012-07-18 00:56:36 +02:00
Tejas Tank 724d8dbaa9 removed pad from kanban, change title and improve css.
bzr revid: tta@openerp.com-20120509103947-9yn41ooq6kbfr5gd
2012-05-09 16:09:47 +05:30
Tejas Tank 6f09e12c87 [IMP] Etherpad syn. with ir.attachement
bzr revid: tta@openerp.com-20120501125440-eh95szp968oncn0q
2012-05-01 18:24:40 +05:30
Tejas Tank ddf8d19d8a etherpad.xml file removed
bzr revid: tta@openerp.com-20120427111922-ghu56jmsxtye3pdp
2012-04-27 16:49:22 +05:30
Tejas Tank 28b6a7b887 merge etherpad with pad module
bzr revid: tta@openerp.com-20120427104800-901vmhsz4o76q9va
2012-04-27 16:18:00 +05:30
Tejas Tank ae848b7fd9 merge with pad module and latest trunk too
bzr revid: tta@openerp.com-20120427085103-s2nf391at3nsmbdg
2012-04-27 14:21:03 +05:30
Antony Lesuisse ff16b9c988 [FIX] pad
bzr revid: al@openerp.com-20120419082815-3rkd76h0bztnb3p1
2012-04-19 10:28:15 +02:00
Antony Lesuisse e38054527c [MERGE] pad port to 6.1 chs
bzr revid: al@openerp.com-20111010211124-mjta0o42rarn87tw
2011-10-10 23:11:24 +02:00
Christophe Simonis b5e1cb6060 [IMP] port pad module to 6.1
bzr revid: chs@openerp.com-20111006134408-5c2z2xhod6b998jv
2011-10-06 15:44:08 +02:00