Giter Club home page Giter Club logo

braftonium's People

Contributors

dking3876 avatar grich89 avatar jkowensky avatar n-lamkin avatar yvonnetse avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

braftonium's Issues

Keyboard Navigation

dont use display:none;

hide w/ position: absolute; and brought into view on :hover, :focus, and are navigable using either the tab key or by using the keyboard arrow keys.
How to test:

Using tab key, tab forward through site. Test to make sure that links, buttons, form fields, and dropdown menus are available using the tab key.
Make sure you can see visually which link is focused.
Test shift+tab to move backwards and confirm that works as well.

Theme options

seperate out them options creating seperate tabs for blog ect

make theme woocommerce compatable

add the required markup into functions.php and ensure the theme will easily support woo commerce adding in templates for products

New Map block

needs client's google api key. Option for phone 3(s) and email(s)

Skip Links

Themes must include a mechanism that enables users to navigate directly to content or navigation on entering any given page. These links may be positioned off screen initially but must be available to screen reader users and must be visible on focus for sighted keyboard navigators.

A minimally conforming skip link must:

Be the first focusable element perceived by a user via screen reader or keyboard navigation.
Be visible when keyboard focus moves to the link.
Move focus to the main content area of the page when activated.
There is an outstanding bug in WebKit-based browsers that prevents focus being moved to elements that aren’t natively focusable. You can either enqueue JS to patch this bug or assign tabindex=-1 to your main content region to handle this issue.

How to test:

Verify that skip link is present.
Verify that skip link is first focusable object on the page when not logged in
Verify that skip link becomes visible when it receives focus
Verify that skip link points to the content area of the site correctly
Tools: browser tab key, browser inspector

Issue with woocommerce.php

https://docs.woocommerce.com/document/template-structure/

"If your theme has a woocommerce.php file, you will be unable to override the woocommerce/archive-product.php custom template in your theme, as woocommerce.php has priority over other template files. This is intended to prevent display issues."

Is this file needed? Can it be deleted? I am trying to customize that file for my site. Thanks!

Headings

Headings do not skip levels when descending. H1 cannot be followed by H3, etc.

Braftonium Logo Path Invalid

All punctuation is removed from the image path for the Braftonium Logo... probably just an issue with the sanitization of the URL for the braftonium_logo setting in braftonium-options.acf.php

blog layouts

need an option to change the blog layout between the 2-3 options we already have and an easy way to add more blog layouts just by putting a new template file into a "blog" folder or something

Decrease padding accross the board

Hayley will be providing more specifics as to trends in padding per section, in the meantime, decrease padding between sections by 30%

slick js

only include if using the testimonial block

menu not working

upon activating theme on existing site menu shows as regular unordered list not as a menu

terms are not translating

braftonium/functions.php

Lines 90 to 100 in 7c10899

'name' => $custom_post_title.__( 's', 'braftonium' ),
'singular_name' => $custom_post_title,
'menu_name' => $custom_post_title.__( 's', 'braftonium' ),
'add_new_item' => __( 'Add New', 'braftonium' ).' '.$custom_post_title,
);
$posttypes_args = array(
'labels' => $posttypes_labels,
'menu_icon' => 'dashicons-star-filled',
'public' => true,
'capability_type' => 'page',
'has_archive' => true,

your terms are not translating because here youll notice your terms are outside the translation method

NOTE: also you defined Teammember not teammebersS with an s so another reason

Add

Text Domain: transparent

to the theme definition style.css file

Security!

  1. WP_DEBUG, true
  2. if ( ! defined( ‘ABSPATH’ ) ) exit; // Exit if accessed directly
  3. Sanitize all the inputs
  4. Escape all the outputs
  5. Nonce your forms and urls

Custom Post types

All things having to do with custom post types should be in the plugin

language translation

ensure all echo statments and options use the proper _() translation function to ensure the theme is multilanguage compatable

page options

you have other need better name (options)

compact and thin need better names

Adding Classes

Checkbox options to add to classes?
-add shadow
-full screen
-full width
-compact
-thin

translation of settings not working

initilization of theme settings occurs before your textdomain and translation loading. all your logic needs to be inside braftonium_start method

Documentation

Any custom features, templates, options or any limitations (for example menu restrictions), should be explained. Enough documentation should be provided.

code reduction - full-width.php

This could very well raise a flag with Wordpress. I would consider replacing lines 37 to 55 in full-width.php with the following:

$row_layout = get_row_layout();
get_template_part( 'post-formats/content', $row_layout);
$sectionrow++;

ARIA Landmark Roles

Appropriate usage of roles:
role="banner" == header (

element)
role="main" == main content ( element)
role="complementary" = sidebars ( element)
role="contentinfo" = footer ( element)
role="search" = search form
role="navigation" = navigation menus ( element)
If a particular role appears more than once on a page, you should provide an ARIA label for that role:

no more than 10!!!

Plugin Dependency

As the theme requires the Advanced Custom Fields plugin for its options pages, this plugin will need to be bundled correctly with the theme. Wordpress throws one warning and one fatal error on theme activation if that plugin does not exist in the destination install.

Here is one option for dependency management:
https://github.com/TGMPA/TGM-Plugin-Activation

An alternative would be to use Wordpress native meta fields. I have taken this approach with a custom theme I am developing.

Content Links

Links (not nav or buttons) within content must be underlined.

Repetitive Link Text

Fails:
the_content(
__( 'Continue reading', 'textdomain' )
);

Passes:
the_content(
sprintf(
__( 'Continue reading%s', 'textdomain' ),
' '.get_the_title().''
)
);

auto add stylesheet

automatically adds style to the events/testimonial/whatever custom post type in braftonium/library/custom-fields/master.scss

No PHP or JS notices.

Have a valid DOCTYPE declaration and include language_attributes.
Validate and/or sanitize untrusted data before entering into the database. All untrusted data should be escaped before output. (See: Data Validation)
No removing or modifying non-presentational hooks.

Provide a unique prefix for everything the Theme defines in the public namespace, including options, functions, global variables, constants, post meta, etc. Theme nav menu locations and sidebar IDs are exceptions.

widgets on pages

need a block that allows you to select widgets to add to the page

remove script tags from content templates

The content templates in the post-formats folder have script tags embedded within the HTML. This practice is strongly discouraged by Wordpress. I would consider removing them and adding them to an external file or function passing the required $videoid variable as a parameter. You would also be removing unnecessary code duplication as well since the scripts appear to be identical.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.