Content editing and site configuration
Cannot delete files, or deleted files are showing up in search results
Main menu links display when signed in but don’t show when signed out
The status report page shows a “mismatched entity field definitions” error
How to find all instances of content or links across the site
Accessibility scanning tools report a violation: “Document has required lang attribute”
Cannot delete files, or deleted files are showing up in search results
See Deleting media
Tables do not have borders or padding
By default, tables created in the rich text editor will render with plain styling, without a border or padding.
To improve usability and accessibility, tables should include a header, as described in Styling Tables. Adding the table header will automatically add padding to table cells and will visually differentiate the table header from the table body.
To add borders, or to add padding to tables that cannot support a table header, see Using the Styles dropdown.
Change Twitter icon to new X logo
To change the site’s header/footer social media icon from the previous Twitter logo to the new X logo:
1. Download the following replacement file (right-click to access save option): x.svgGo to Structure > Social Links (
/admin/structure/social-links
).Click “Edit” on the existing “Twitter” icon.
Optionally, relabel the social media platform from “Twitter” to “X (formerly Twitter)”.
Press “Choose file” and upload the file downloaded in Step 1.
Press “Save”.
Go to Configuration > Development > Performance (
/admin/config/development/performance
) and press “Clear all caches”.
If the site displays social media sharing links on individual pages, update the icon as follows:
Go to Configuration > AddToAny (/admin/config/services/addtoany)
Under Service Buttons, replace
<a class="a2a_button_twitter"></a>
with<a class="a2a_button_x"></a>
.Save the configuration form.
The @
at symbol (@) renders incorrectly
Problem: In some situations, content editors may need to render the “at” symbol using an HTML entity, rather than the single @
character. The system currently incorrectly converts @
.
Resolution: Use @
for this purpose.
The status report page shows a “mismatched entity field definitions” error
This is a Drupal core issue. It doesn’t appear to cause any data integrity problems, but the error message can be resolved within the Drupal UI as described in https://www.drupal.org/forum/support/upgrading-drupal/2019-06-23/how-to-solve-mismatched-entity-andor-field-definitions#comment-14208168.
Importantly, note that the field’s “Storage Settings” needs to be saved, which is on a different edit tab than the main edit tab.
How to link to a section within a web page
All HTML headings (h2
, h3
, h4
, and h5
) have id
attributes that can be used as anchor links. The id
of a heading can be found by using the browser inspector (note: these IDs are not viewable in the static page source, since they are added by JavaScript; see View source vs Inspect element).
Other elements that include id
tags are accordions provided by the Flex List component and the HTML details/summary
element.
How to find all instances of content or links across the site
From time to time, content editors may need to audit sites for references to content or hyperlinks that need to be updated. Here are a few strategies for accomplishing this kind of site-wide search:
Method |
Pros |
Cons |
---|---|---|
Use the site’s “Search” form to search for a word or phrase. |
Does not require technical setup or assistance. |
Cannot find hyperlinks and may return “false positives” |
Generate a static HTML version of the site, then search the file contents. Methods for doing this are include drupal.org suggestions, this gist, and the Apple application SiteSucker |
Will comprehensively find words/phrases and can find hyperlinks. |
Requires technical know-how to generate the HTML. |
Set up custom policies in Monsido to search for words/strings of texts. |
Does not require technical setup or assistance; works on the site both in its current state and monitors for future updates |
Requires Monsido skills; takes time to re-scan the site. |
Accessibility scanning tools report a violation: “Document has required lang attribute”
Tools like Monsido may report violation pertaining to the requirement “Document has required lang attribute” on pages that have embedded videos. This a false positive, due to a technicality, where external videos embedded through oEmbed do not include the lang
attribute on the outer iframe. ITS has confirmed that it is acceptable for Monsido scans to ignore “issues” with the URL pattern /media/oembed
.
If a specific issue has been ignored, Monsido will not scan that exact issue again; however, new or modified instances of /media/oembed
will be scanned and trigger a separate issue. If a site has numerous embedded videos or constantly changing embedded videos, a Monsido user with administrative authority can create a “Source Code Exclude” that won’t flag any subsequent violations regarding “Document has required lang attribute” on /media/oembed issues
.
Users without administrative authority can request access for self-service, or request a Monsido admin to add the Source Code Exclude to the scan, by emailing accessibility-assessments@utlists.utexas.edu