<div class="item">
  <h1>4.1.2 Name, Role, Value</h1>
  <div role="menubar">
    <button class="btn" role="menuitem" aria-haspopup="true">Actions</button>
    <ul class="list" role="menu" aria-hidden="true" aria-label="action options">
        <li class="list__item" role="menuitem"><button>Create</button></li>
        <li class="list__item" role="menuitem"><button>Delete</button></li>
        <li class="list__item" role="menuitem"><button>Move</button></li>
        <li class="list__item" role="menuitem"><button>Copy</button></li>
    </ul>
</div>
</div>
/* 

  DEMO STYLING

*/

body {
  padding: 80px 30px;
}

h1 {
  text-align: center; margin: 0 auto 30px auto; font-size: 24px;
}

h2 {
  font-size: 20px; font-weight: 700; display: block;
}

h1 small {
  display: block;
  font-size: 14px;
  margin-top: 10px;
}

.item {
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  width: 100%;
  text-align: left;
  margin-bottom: 30px;
  padding: 12px 24px;
  border: 1px solid rgba(0,0,0,0.1);
  font-weight: 700;
}


p a {text-decoration: underline; }

.list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: none;
  width: 100%;
  background: #292b2c;
}
.list__item {
  width: 100%;
  text-align: left;
  border-bottom: 1px solid #222;
  padding: 12px 24px;
}

.list__item button {
  width: 100%; text-align: left; background: transparent; border:0; color: #FFF;
}
// aria-hidden="true"

$('.btn').click(function(){
	$('.list').slideDown();
  $('.list').attr("aria-hidden","false");
});

External CSS

  1. https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha.6/css/bootstrap.min.css

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js