Fix sequence of content in Subhead
* Fix sequence of content in Subhead
When a heading, description, and action are rendered in the Subhead
component, the content now follows logical order on screen readers.
* Update changelog
MODIFY
CHANGELOG.md
CHANGELOG.md
@@ -77,6 +77,10 @@ The category for changes related to documentation, testing and tooling. Also, fo
_Cameron Dutro_
+- Fix sequence of content in Subhead.
+
+ _Hector Garcia_
+
### Deprecations
- Deprecate `Tooltip` component.

MODIFY
app/components/primer/subhead_component.html.erb
app/components/primer/subhead_component.html.erb
<%= render Primer::BaseComponent.new(**@system_arguments) do %>
<%= heading %>
- <%= actions %>
<%= description %>
+ <%= actions %>
<% end %>

Fix sequence of content in Subhead (#1024)

* Fix sequence of content in Subhead

When a heading, description, and action are rendered in the Subhead
component, the content now follows logical order on screen readers.

* Update changelog