Commit 3c133edf authored by Mohit Bansal's avatar Mohit Bansal Committed by Damien McKenna
Browse files

Issue #3243775 by mohit.bansal623, DamienMcKenna: Replace all title= attributes with aria-label=.

parent 5a3c731b
Loading
Loading
Loading
Loading
+2 −0
Changes for CHANGELOG.txt: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -11,6 +11,8 @@ Metatag 7.x-1.x-dev, xxxx-xx-xx
  file field path settings.
#3293480 by Darren Oh, kellyimagined, DamienMcKenna: Fix incorrect
  entity_load() call in _metatag_remove_dupes().
#3243775 by mohit.bansal623, DamienMcKenna: Replace all title= attributes with
  aria-label=.


Metatag 7.x-1.28, 2021-07-12
+1 −1
Changes for metatag.install: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -353,7 +353,7 @@ function metatag_schema() {
 * Implements hook_install().
 */
function metatag_install() {
  drupal_set_message(t("Thank you for installing the Metatag module. It is recommended to read the module's <a href=\"!url\" title=\"Read the Metatag module's documentation\">README.txt</a> file as there are some known issues that may affect this site.", array('!url' => url(drupal_get_path('module', 'metatag') . '/README.txt'))));
  drupal_set_message(t("Thank you for installing the Metatag module. It is recommended to read the module's <a href=\"!url\" aria-label=\"Read the Metatag module's documentation\">README.txt</a> file as there are some known issues that may affect this site.", array('!url' => url(drupal_get_path('module', 'metatag') . '/README.txt'))));

  // Always enable the node, taxonomy term and user entities.
  foreach (array('node', 'taxonomy_term', 'user') as $entity_type) {
+2 −2
Changes for metatag_context/metatag_context.admin.inc: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ function metatag_context_context_overview() {
  $header = array(t('Name'), t('Paths'), t('Weight'), t('Operations'));
  $rows = array();

  $caption = t('Values assigned here inherit from the <a href="@url" title="Edit the global default meta tags.">global defaults</a>. Use the weight to specify the order the context meta tags run.', array('@url' => url('admin/config/search/metatags/config/global')));
  $caption = t('Values assigned here inherit from the <a href="@url" aria-label="Edit the global default meta tags.">global defaults</a>. Use the weight to specify the order the context meta tags run.', array('@url' => url('admin/config/search/metatags/config/global')));

  foreach ($contexts as $name => $context) {
    // Only show context items that are specifically selected to be "Shown on
@@ -155,7 +155,7 @@ function metatag_context_config_edit_form($form, &$form_state, $context) {

  $form['help'] = array(
    '#prefix' => '<hr /><p><em>',
    '#markup' => t('Values assigned here inherit from the <a href="@url" title="Edit the global default meta tags.">global defaults</a>.', array('@url' => url('admin/config/search/metatags/config/global'))),
    '#markup' => t('Values assigned here inherit from the <a href="@url" aria-label="Edit the global default meta tags.">global defaults</a>.', array('@url' => url('admin/config/search/metatags/config/global'))),
    '#suffix' => '</em></p>',
    '#weight' => -99,
  );
+1 −1
Changes for metatag_context/metatag_context.context.inc: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ class metatag_context_reaction extends context_reaction {

    $form['help'] = array(
      '#prefix' => '<p><em>',
      '#markup' => t('Values assigned here inherit from the <a href="@url" title="Edit the global default meta tags.">global defaults</a> and will override any other meta tags assigned elsewhere.', array('@url' => url('admin/config/search/metatags/config/global'))),
      '#markup' => t('Values assigned here inherit from the <a href="@url" aria-label="Edit the global default meta tags.">global defaults</a> and will override any other meta tags assigned elsewhere.', array('@url' => url('admin/config/search/metatags/config/global'))),
      '#suffix' => '</em></p>',
    );