Opened 8 years ago
Closed 8 years ago
#7752 closed defect (bug) (fixed)
BP Nouveau: Group > Invite > screens have unwrapped `<li>` elements and `<button>`s issues.
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.0 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Templates | Keywords: | has-patch commit |
| Cc: |
Description
- In <Group> Invite > My Friends & Pending Invites screens:
- empty
<li class="last"></li>without a<ul>wrapper
<div class="subnav-filters group-subnav-filters bp-invites-filters"> <div> <div class="group-invites-search subnav-search clearfix" role="search"> <div class="bp-search"> ... etc ... </div> </div> <li class="last"> (empty) </li> </div> </div>
- In
<Group>Invite > All Members screen:
<li>element does not have a<ul>wrapper<button>s not seen nor clear for sighted users, should have a bp-tooltip, data-bp-tooltip, and an icon. Having said that ...- Replace
<button>s above with the semantic links for pagination so the function of the element is clear for users of assistive technologies.
<div> <div class="group-invites-search subnav-search clearfix" role="search"> <div class="bp-search> ... etc ...</div> </div> <li class="last"> // Use link instead of button below for pagination. <button type="button" id="bp-invites-prev-page" class="button invite-button"> <span class="bp-screen-reader-text">Previous</span> </button> // Use link instead of button below for pagination. <button type="button" id="bp-invites-next-page" class="button invite-button"> <span class="bp-screen-reader-text">Next</span> </button> </li> </div>
Attachments (3)
Change History (9)
#3
@
8 years ago
- Keywords has-patch reporter-feedback added
- Owner set to imath
- Status changed from new to assigned
@mercime All the things you're describing are generated by JavaScript, so i will work on it, i just added a patch (7752.patch) to try to comply with what's needed. Please tell me if I understood wrongly or if I forgot something.
#4
@
8 years ago
Thanks @imath ! Attached patch:
- moves left-arrow dashicon before the
Previoustext - changes
Previoustext in 2nd link toNext - adds
bp-tooltipanddata-bp-tooltipto provide context for sighted users
This still needs additional styling for mobile view.
Note: See
TracTickets for help on using
tickets.
Haven't checked out the source files yet, but some solutions off the bat:
For A. screens - Remove the empty
<li class="last">For B. screen - Replace
<li class="last">with a<div>wrapper instead, and replace<button>s with links