Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/10/2018 06:23:58 AM (8 years ago)
Author:
imath
Message:

BP Nouveau - Messages UI: Improve a11y in message boxes.

Message boxes are listing messages (inbox, starbox, sentbox). Using screen reader softwares or the keyboard, it is now a better experience to navigate in these lists. Pressing the Tab key makes you navigate from the Message Checkbox, to the sender/recipients link and finally to the Message title. Once on a Message title, pressing the enter key activates the message and updates the preview box. Pressing on the enter key another time opens the full conversation.

Huge Props mercime

Fixes #7731

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/sass/_nouveau_messages.scss

    r12067 r12073  
    9797        }
    9898
    99         .thread-from {
     99        .thread-from,
     100        .thread-to {
    100101
    101102            @include box-item-size(1, 2, 20%);
     
    110111                line-height: 1.1;
    111112            }
     113
     114            .num-recipients {
     115                color: $meta-text;
     116                font-weight: 400;
     117
     118                @include font-size(12);
     119                margin: 0;
     120            }
    112121        }
    113122
     
    134143        }
    135144
     145        // the unread parent li
     146        &.unread {
     147            font-weight: 700;
     148        }
     149
    136150        .thread-content {
    137             cursor: pointer;
    138151
    139152            .excerpt {
     
    145158
    146159            .thread-from,
     160            .thread-to,
    147161            .thread-subject {
    148162
Note: See TracChangeset for help on using the changeset viewer.