Method: Primer::Alpha::ActionList#before_render
- Defined in:
- app/components/primer/alpha/action_list.rb
permalink #before_render ⇒ Object
[View source]
175 176 177 178 179 180 |
# File 'app/components/primer/alpha/action_list.rb', line 175 def before_render return unless heading? @system_arguments[:"aria-labelledby"] = heading.title_id @system_arguments[:"aria-describedby"] = heading.subtitle_id if heading.subtitle? end |